package com.example.allshengmedical.util;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import android.R.integer;
import android.graphics.Color;
import android.net.wifi.p2p.WifiP2pManager.Channel;
import android.os.Environment;
import android.renderscript.Element;
import android.text.TextUtils;
import android.util.Log;

import com.example.allshengmedical.R;
import com.example.allshengmedical.R.color;
import com.example.allshengmedical.base.BaseApplication;
import com.example.allshengmedical.experimentnew.bean.LayoutTableBean;
import com.example.allshengmedical.experimentnew.bean.MethodBean;
import com.github.mikephil.charting.charts.LineChart;
import com.github.mikephil.charting.components.XAxis;
import com.github.mikephil.charting.data.Entry;
import com.github.mikephil.charting.data.LineDataSet;

public class FileParsingUtil {

	// 文件信息
	private String folderName;
	private String fileName;
	private StringBuffer contextString = new StringBuffer();

	// 基本信息
	private String experimentName;
	private String experimentNum;
	private String experimenter;
	private String experimentType;
	private String sampleType;
	private String reagent;

	// layoutOne的信息
	private ArrayList<LayoutTableBean> activityLayoutTableBeans;

	// genen盘数据
	// 基因盘数据
	private List<HashMap<String, Object>> dataSourceListBlock1 = new ArrayList<HashMap<String, Object>>();
	private List<HashMap<String, Object>> dataSourceListBlock2 = new ArrayList<HashMap<String, Object>>();

	// 曲线图
	// 上半部
	private ArrayList<MethodBean> activityMethodBeans;
	private int repititionsNum;

	// 下面的图表
	HashMap<Integer, Integer> pointMap = new HashMap();
	List<HashMap<String, Object>> pointMaps = new ArrayList<HashMap<String, Object>>();

	private String[] xItem, yItem = { "", "", "", "", "", "", "", "", "", "",
			"" };

	// 热盖温度等等
	private int stepNum;
	private Double hotLidTemperature;
	private Double sampleVolumeString;

	// 曲线
	// 曲线集合。
	private ArrayList<String> xValues;
	private ArrayList<LineDataSet> dataSets;
	// private LineDataSet dataSet = new LineDataSet(null, "");
	private LineDataSet dataSet = new LineDataSet(null, "");
	private LineDataSet baseLineDataSet = new LineDataSet(null, "");
	// private LineDataSet dataSet2 = new LineDataSet(null, "");
	// private LineDataSet dataSet3 = new LineDataSet(null, "");
	// private LineDataSet dataSet4 = new LineDataSet(null, "");

	// PassReference
	String passReference = "";
	String passReferenceNum = "-1";

	private ArrayList<LineDataSet> dataLista1 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataLista2 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataLista3 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataLista4 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataLista5 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataLista6 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataLista7 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataLista8 = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListb1 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListb2 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListb3 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListb4 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListb5 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListb6 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListb7 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListb8 = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListc1 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListc2 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListc3 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListc4 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListc5 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListc6 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListc7 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListc8 = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListd1 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListd2 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListd3 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListd4 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListd5 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListd6 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListd7 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListd8 = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataLista1Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataLista2Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataLista3Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataLista4Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataLista5Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataLista6Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataLista7Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataLista8Dyes = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListb1Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListb2Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListb3Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListb4Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListb5Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListb6Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListb7Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListb8Dyes = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListc1Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListc2Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListc3Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListc4Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListc5Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListc6Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListc7Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListc8Dyes = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListd1Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListd2Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListd3Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListd4Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListd5Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListd6Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListd7Dyes = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListd8Dyes = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataLista1Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataLista2Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataLista3Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataLista4Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataLista5Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataLista6Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataLista7Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataLista8Sample = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListb1Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListb2Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListb3Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListb4Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListb5Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListb6Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListb7Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListb8Sample = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListc1Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListc2Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListc3Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListc4Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListc5Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListc6Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListc7Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListc8Sample = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListd1Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListd2Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListd3Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListd4Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListd5Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListd6Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListd7Sample = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListd8Sample = new ArrayList<LineDataSet>();

	// private ArrayList<LineDataSet> dataListMeltCurve = new
	// ArrayList<LineDataSet>();
	// private ArrayList<LineDataSet> dataListMeltSampleCurve = new
	// ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListMeltCurvea1 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurvea2 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurvea3 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurvea4 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurvea5 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurvea6 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurvea7 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurvea8 = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListMeltCurveb1 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveb2 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveb3 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveb4 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveb5 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveb6 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveb7 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveb8 = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListMeltCurvec1 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurvec2 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurvec3 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurvec4 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurvec5 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurvec6 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurvec7 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurvec8 = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListMeltCurved1 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurved2 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurved3 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurved4 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurved5 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurved6 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurved7 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurved8 = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListMeltCurveSamplea1 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSamplea2 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSamplea3 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSamplea4 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSamplea5 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSamplea6 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSamplea7 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSamplea8 = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListMeltCurveSampleb1 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSampleb2 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSampleb3 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSampleb4 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSampleb5 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSampleb6 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSampleb7 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSampleb8 = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListMeltCurveSamplec1 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSamplec2 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSamplec3 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSamplec4 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSamplec5 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSamplec6 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSamplec7 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSamplec8 = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListMeltCurveSampled1 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSampled2 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSampled3 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSampled4 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSampled5 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSampled6 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSampled7 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveSampled8 = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListMeltCurveDeria1 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeria2 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeria3 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeria4 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeria5 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeria6 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeria7 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeria8 = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListMeltCurveDerib1 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDerib2 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDerib3 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDerib4 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDerib5 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDerib6 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDerib7 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDerib8 = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListMeltCurveDeric1 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeric2 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeric3 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeric4 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeric5 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeric6 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeric7 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeric8 = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListMeltCurveDerid1 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDerid2 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDerid3 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDerid4 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDerid5 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDerid6 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDerid7 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDerid8 = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListMeltCurveDeriSamplea1 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSamplea2 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSamplea3 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSamplea4 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSamplea5 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSamplea6 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSamplea7 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSamplea8 = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListMeltCurveDeriSampleb1 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSampleb2 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSampleb3 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSampleb4 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSampleb5 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSampleb6 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSampleb7 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSampleb8 = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListMeltCurveDeriSamplec1 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSamplec2 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSamplec3 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSamplec4 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSamplec5 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSamplec6 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSamplec7 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSamplec8 = new ArrayList<LineDataSet>();

	private ArrayList<LineDataSet> dataListMeltCurveDeriSampled1 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSampled2 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSampled3 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSampled4 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSampled5 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSampled6 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSampled7 = new ArrayList<LineDataSet>();
	private ArrayList<LineDataSet> dataListMeltCurveDeriSampled8 = new ArrayList<LineDataSet>();

	private ArrayList<ArrayList<LineDataSet>> dataListRawDataArrayList = new ArrayList<ArrayList<LineDataSet>>();

	private ArrayList<ArrayList<LineDataSet>> dataListArrayList = new ArrayList<ArrayList<LineDataSet>>();
	private ArrayList<ArrayList<LineDataSet>> dataListLogArrayList = new ArrayList<ArrayList<LineDataSet>>();
	private ArrayList<ArrayList<LineDataSet>> dataListSampleArrayList = new ArrayList<ArrayList<LineDataSet>>();
	private ArrayList<ArrayList<LineDataSet>> dataListLogSampleArrayList = new ArrayList<ArrayList<LineDataSet>>();
	private ArrayList<ArrayList<LineDataSet>> dataListDyesArrayList = new ArrayList<ArrayList<LineDataSet>>();

	private ArrayList<ArrayList<LineDataSet>> dataListMeltCurveArrayList = new ArrayList<ArrayList<LineDataSet>>();
	private ArrayList<ArrayList<LineDataSet>> dataListMeltCurveDeriArrayList = new ArrayList<ArrayList<LineDataSet>>();
	private ArrayList<ArrayList<LineDataSet>> dataListMeltCurveSampleArrayList = new ArrayList<ArrayList<LineDataSet>>();
	private ArrayList<ArrayList<LineDataSet>> dataListMeltCurveDeriSampleArrayList = new ArrayList<ArrayList<LineDataSet>>();
	private Float progressTemperature = 0f;
	private Float endTemperature = 0f;
	private Float startTemperature = 0f;
	private String color;

	public FileParsingUtil(String folderName, String fileName) {
		super();
		this.folderName = folderName;
		this.fileName = fileName;
		getGoalString(folderName, fileName);
		getBaseInformation();
		getLayutOne();
		getGenen();
		getSimpleLineChartView();
	}

	public void MeltCurve() {
		Boolean haveDataFlag = false;
		for (int i = 0; i < activityMethodBeans.size(); i++) {
			if (!TextUtils.isEmpty(activityMethodBeans.get(i).getDeltaT())) {
				progressTemperature = Float.parseFloat(activityMethodBeans.get(
						i).getDeltaT());
				endTemperature = Float.parseFloat(activityMethodBeans.get(i)
						.getTemperature());
				startTemperature = Float.parseFloat(activityMethodBeans.get(
						i - 1).getTemperature());
				haveDataFlag = true;
			}
		}
		if (haveDataFlag) {
			// xzhou();

			// Melt Region Normalized Data
			String meltRegionNormalizedStr = contextString.substring(
					contextString.indexOf("Melt Region Normalized Data"),
					contextString.indexOf("Melt Region Derivative Data"));
			// 正常的chanel1

			int lineIndex = 0;
			for (int channel = 1; channel <= 4; channel++) {

				int channelNext = channel + 1;

				for (int i = 1; i <= 32; i++) {
					int iNext = i + 1;
					ArrayList<Entry> yValues = new ArrayList<Entry>();
					String lineString;
					if (channel == 4) {
						if (channel == 1) {
							lineIndex = meltRegionNormalizedStr
									.indexOf("Channel1") + 9;
						} else if (channel == 2) {
							lineIndex = meltRegionNormalizedStr
									.indexOf("Channel2") + 9;
						} else if (channel == 3) {
							lineIndex = meltRegionNormalizedStr
									.indexOf("Channel3") + 9;
						} else if (channel == 4) {
							lineIndex = meltRegionNormalizedStr
									.indexOf("Channel4") + 9;
						}
						if (i == 32) {

							if (meltRegionNormalizedStr.length() - 1 < meltRegionNormalizedStr
									.indexOf("," + i + ",", lineIndex) + 5) {
								lineString = "";
							} else {
								lineString = meltRegionNormalizedStr.substring(
										meltRegionNormalizedStr.indexOf("," + i
												+ ",", lineIndex) + 5,
										meltRegionNormalizedStr.length() - 1);
							}

						} else {
							if (channel == 1) {
								lineIndex = meltRegionNormalizedStr
										.indexOf("Channel1") + 9;
							} else if (channel == 2) {
								lineIndex = meltRegionNormalizedStr
										.indexOf("Channel2") + 9;
							} else if (channel == 3) {
								lineIndex = meltRegionNormalizedStr
										.indexOf("Channel3") + 9;
							} else if (channel == 4) {
								lineIndex = meltRegionNormalizedStr
										.indexOf("Channel4") + 9;
							}
							if (meltRegionNormalizedStr.indexOf("," + iNext
									+ ",", lineIndex) < meltRegionNormalizedStr
									.indexOf("," + i + ",", lineIndex) + 5) {
								lineString = "";

							} else {
								lineString = meltRegionNormalizedStr.substring(
										meltRegionNormalizedStr.indexOf("," + i
												+ ",", lineIndex) + 5,
										meltRegionNormalizedStr.indexOf(","
												+ iNext + ",", lineIndex));
							}
						}

					} else {
						if (i == 32) {
							if (channel == 1) {
								lineIndex = meltRegionNormalizedStr
										.indexOf("Channel1") + 9;
							} else if (channel == 2) {
								lineIndex = meltRegionNormalizedStr
										.indexOf("Channel2") + 9;
							} else if (channel == 3) {
								lineIndex = meltRegionNormalizedStr
										.indexOf("Channel3") + 9;
							} else if (channel == 4) {
								lineIndex = meltRegionNormalizedStr
										.indexOf("Channel4") + 9;
							}

							if (meltRegionNormalizedStr.indexOf(",,Channel"
									+ "" + channelNext) < meltRegionNormalizedStr
									.indexOf("," + i + ",", lineIndex) + 5) {
								lineString = "";
							} else {
								lineString = meltRegionNormalizedStr.substring(
										meltRegionNormalizedStr.indexOf("," + i
												+ ",", lineIndex) + 5,
										meltRegionNormalizedStr
												.indexOf(",,Channel" + ""
														+ channelNext));
							}

						} else {
							// meltRegionNormalizedStr.substring(lineIndex,
							// meltRegionNormalizedStr.length());
							if (channel == 1) {
								lineIndex = meltRegionNormalizedStr
										.indexOf("Channel1") + 9;
							} else if (channel == 2) {
								lineIndex = meltRegionNormalizedStr
										.indexOf("Channel2") + 9;
							} else if (channel == 3) {
								lineIndex = meltRegionNormalizedStr
										.indexOf("Channel3") + 9;
							} else if (channel == 4) {
								lineIndex = meltRegionNormalizedStr
										.indexOf("Channel4" + "+") + 9;
							}

							if (meltRegionNormalizedStr.indexOf("," + iNext
									+ ",", lineIndex) < meltRegionNormalizedStr
									.indexOf("," + i + ",", lineIndex) + 5) {
								lineString = "";
							} else {
								lineString = meltRegionNormalizedStr.substring(
										meltRegionNormalizedStr.indexOf("," + i
												+ ",", lineIndex) + 5,
										meltRegionNormalizedStr.indexOf(","
												+ iNext + ",", lineIndex));
							}

						}

					}

					// if ("".equals(lineString)) {
					// yValues.add(new Entry(0, 0));
					//
					// } else {
					int index = 0;
					lineString = lineString.substring(
							lineString.indexOf(",") + 1, lineString.length());
					index = lineString.indexOf(",") + 1;
					index = lineString.indexOf(",", index) + 1;
					lineString = lineString.substring(index,
							lineString.length());
					index = 0;

					// lineString.substring(500,lineString.length());
					int pointIndex = 0;
					lineString = lineString + ",";
					while (lineString.indexOf(",", index) >= 0) {

						String xString = lineString.substring(index,
								lineString.indexOf(",", index));
						index = lineString.indexOf(",", index) + 1;
						if (TextUtils.isEmpty(xString)) {
							yValues.add(new Entry(0, pointIndex));
						} else {
							yValues.add(new Entry(Float.parseFloat(xString),
									pointIndex));
						}

						pointIndex++;

					}

					// }
					switch (i) {
					case 1:
						addLineChart(yValues,
								dataSourceListBlock1.get(0).get("item_image")
										.toString(), 1);
						dataListMeltCurvea1.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSamplea1.add(dataSet);
						break;
					case 2:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurvea2.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSamplea2.add(dataSet);
						break;

					case 3:
						addLineChart(yValues,
								dataSourceListBlock1.get(2).get("item_image")
										.toString(), 1);
						dataListMeltCurvea3.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSamplea3.add(dataSet);
						break;
					case 4:
						addLineChart(yValues,
								dataSourceListBlock1.get(3).get("item_image")
										.toString(), 1);
						dataListMeltCurvea4.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSamplea4.add(dataSet);
						break;

					case 5:
						addLineChart(yValues,
								dataSourceListBlock1.get(4).get("item_image")
										.toString(), 1);
						dataListMeltCurvea5.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSamplea5.add(dataSet);
						break;

					case 6:
						addLineChart(yValues,
								dataSourceListBlock1.get(5).get("item_image")
										.toString(), 1);
						dataListMeltCurvea6.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSamplea6.add(dataSet);
						break;

					case 7:
						addLineChart(yValues,
								dataSourceListBlock1.get(6).get("item_image")
										.toString(), 1);
						dataListMeltCurvea7.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSamplea7.add(dataSet);
						break;

					case 8:
						addLineChart(yValues,
								dataSourceListBlock1.get(7).get("item_image")
										.toString(), 1);
						dataListMeltCurvea8.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSamplea8.add(dataSet);
						break;

					case 9:
						addLineChart(yValues,
								dataSourceListBlock1.get(8).get("item_image")
										.toString(), 1);
						dataListMeltCurveb1.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSampleb1.add(dataSet);
						break;
					case 10:
						addLineChart(yValues,
								dataSourceListBlock1.get(9).get("item_image")
										.toString(), 1);
						dataListMeltCurveb2.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSampleb2.add(dataSet);
						break;
					case 11:
						addLineChart(yValues,
								dataSourceListBlock1.get(10).get("item_image")
										.toString(), 1);
						dataListMeltCurveb3.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSampleb3.add(dataSet);
						break;
					case 12:
						addLineChart(yValues,
								dataSourceListBlock1.get(11).get("item_image")
										.toString(), 1);
						dataListMeltCurveb4.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSampleb4.add(dataSet);
						break;

					case 13:
						addLineChart(yValues,
								dataSourceListBlock1.get(12).get("item_image")
										.toString(), 1);
						dataListMeltCurveb5.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSampleb5.add(dataSet);
						break;
					case 14:
						addLineChart(yValues,
								dataSourceListBlock1.get(13).get("item_image")
										.toString(), 1);
						dataListMeltCurveb6.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSampleb6.add(dataSet);
						break;

					case 15:
						addLineChart(yValues,
								dataSourceListBlock1.get(14).get("item_image")
										.toString(), 1);
						dataListMeltCurveb7.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSampleb7.add(dataSet);
						break;

					case 16:
						addLineChart(yValues,
								dataSourceListBlock1.get(15).get("item_image")
										.toString(), 1);
						dataListMeltCurveb8.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSampleb8.add(dataSet);
						break;

					case 17:
						addLineChart(yValues,
								dataSourceListBlock2.get(0).get("item_image")
										.toString(), 1);
						dataListMeltCurvec1.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSamplec1.add(dataSet);
						break;

					case 18:
						addLineChart(yValues,
								dataSourceListBlock2.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurvec2.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSamplec2.add(dataSet);
						break;

					case 19:
						addLineChart(yValues,
								dataSourceListBlock2.get(2).get("item_image")
										.toString(), 1);
						dataListMeltCurvec3.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSamplec3.add(dataSet);
						break;
					case 20:
						addLineChart(yValues,
								dataSourceListBlock2.get(3).get("item_image")
										.toString(), 1);
						dataListMeltCurvec4.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSamplec4.add(dataSet);
						break;
					case 21:
						addLineChart(yValues,
								dataSourceListBlock2.get(4).get("item_image")
										.toString(), 1);
						dataListMeltCurvec5.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSamplec5.add(dataSet);
						break;
					case 22:
						addLineChart(yValues,
								dataSourceListBlock2.get(5).get("item_image")
										.toString(), 1);
						dataListMeltCurvec6.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSamplec6.add(dataSet);
						break;
					case 23:
						addLineChart(yValues,
								dataSourceListBlock2.get(6).get("item_image")
										.toString(), 1);
						dataListMeltCurvec7.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSamplec7.add(dataSet);
						break;
					case 24:
						addLineChart(yValues,
								dataSourceListBlock2.get(7).get("item_image")
										.toString(), 1);
						dataListMeltCurvec8.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSamplec8.add(dataSet);
						break;
					case 25:
						addLineChart(yValues,
								dataSourceListBlock2.get(8).get("item_image")
										.toString(), 1);
						dataListMeltCurved1.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSampled1.add(dataSet);
						break;
					case 26:
						addLineChart(yValues,
								dataSourceListBlock2.get(9).get("item_image")
										.toString(), 1);
						dataListMeltCurved2.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSampled2.add(dataSet);
						break;
					case 27:
						addLineChart(yValues,
								dataSourceListBlock2.get(10).get("item_image")
										.toString(), 1);
						dataListMeltCurved3.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSampled3.add(dataSet);
						break;
					case 28:
						addLineChart(yValues,
								dataSourceListBlock2.get(11).get("item_image")
										.toString(), 1);
						dataListMeltCurved4.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSampled4.add(dataSet);
						break;
					case 29:
						addLineChart(yValues,
								dataSourceListBlock2.get(12).get("item_image")
										.toString(), 1);
						dataListMeltCurved5.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSampled5.add(dataSet);
						break;
					case 30:
						addLineChart(yValues,
								dataSourceListBlock2.get(13).get("item_image")
										.toString(), 1);
						dataListMeltCurved6.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSampled6.add(dataSet);
						break;
					case 31:
						addLineChart(yValues,
								dataSourceListBlock2.get(14).get("item_image")
										.toString(), 1);
						dataListMeltCurved7.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSampled7.add(dataSet);
						break;
					case 32:
						addLineChart(yValues,
								dataSourceListBlock2.get(15).get("item_image")
										.toString(), 1);
						dataListMeltCurved8.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveSampled8.add(dataSet);
						break;

					default:
						break;
					}

				}
			}

			// Melt Region Derivative Data

			String meltRegionDerivativeStr = contextString.substring(
					contextString.indexOf("Melt Region Derivative Data"),
					contextString.indexOf("Temp Data"));
			// 正常的chanel1

			lineIndex = 0;
			for (int channel = 1; channel <= 4; channel++) {

				int channelNext = channel + 1;

				for (int i = 1; i <= 32; i++) {
					int iNext = i + 1;
					ArrayList<Entry> yValues = new ArrayList<Entry>();
					String lineString;
					if (channel == 4) {
						if (channel == 1) {
							lineIndex = meltRegionDerivativeStr
									.indexOf("Channel1") + 9;
						} else if (channel == 2) {
							lineIndex = meltRegionDerivativeStr
									.indexOf("Channel2") + 9;
						} else if (channel == 3) {
							lineIndex = meltRegionDerivativeStr
									.indexOf("Channel3") + 9;
						} else if (channel == 4) {
							lineIndex = meltRegionDerivativeStr
									.indexOf("Channel4") + 9;
						}
						if (i == 32) {
							if (meltRegionDerivativeStr.length() - 1 < meltRegionDerivativeStr
									.indexOf("," + i + ",", lineIndex) + 5) {
								lineString = "";
							} else {
								lineString = meltRegionDerivativeStr.substring(
										meltRegionDerivativeStr.indexOf("," + i
												+ ",", lineIndex) + 5,
										meltRegionDerivativeStr.length() - 1);
							}

						} else {
							if (channel == 1) {
								lineIndex = meltRegionDerivativeStr
										.indexOf("Channel1") + 9;
							} else if (channel == 2) {
								lineIndex = meltRegionDerivativeStr
										.indexOf("Channel2") + 9;
							} else if (channel == 3) {
								lineIndex = meltRegionDerivativeStr
										.indexOf("Channel3") + 9;
							} else if (channel == 4) {
								lineIndex = meltRegionDerivativeStr
										.indexOf("Channel4") + 9;
							}
							if (meltRegionDerivativeStr.indexOf("," + iNext
									+ ",", lineIndex) < meltRegionDerivativeStr
									.indexOf("," + i + ",", lineIndex) + 5) {
								lineString = "";
							} else {
								lineString = meltRegionDerivativeStr.substring(
										meltRegionDerivativeStr.indexOf("," + i
												+ ",", lineIndex) + 5,
										meltRegionDerivativeStr.indexOf(","
												+ iNext + ",", lineIndex));
							}

						}

					} else {
						if (i == 32) {
							if (channel == 1) {
								lineIndex = meltRegionDerivativeStr
										.indexOf("Channel1") + 9;
							} else if (channel == 2) {
								lineIndex = meltRegionDerivativeStr
										.indexOf("Channel2") + 9;
							} else if (channel == 3) {
								lineIndex = meltRegionDerivativeStr
										.indexOf("Channel3") + 9;
							} else if (channel == 4) {
								lineIndex = meltRegionDerivativeStr
										.indexOf("Channel4") + 9;
							}
							if (meltRegionDerivativeStr.indexOf(",,Channel"
									+ "" + channelNext) < meltRegionDerivativeStr
									.indexOf("," + i + ",", lineIndex) + 5) {
								lineString = "";
							} else {
								lineString = meltRegionDerivativeStr.substring(
										meltRegionDerivativeStr.indexOf("," + i
												+ ",", lineIndex) + 5,
										meltRegionDerivativeStr
												.indexOf(",,Channel" + ""
														+ channelNext));
							}

						} else {
							// meltRegionNormalizedStr.substring(lineIndex,
							// meltRegionNormalizedStr.length());
							if (channel == 1) {
								lineIndex = meltRegionDerivativeStr
										.indexOf("Channel1") + 9;
							} else if (channel == 2) {
								lineIndex = meltRegionDerivativeStr
										.indexOf("Channel2") + 9;
							} else if (channel == 3) {
								lineIndex = meltRegionDerivativeStr
										.indexOf("Channel3") + 9;
							} else if (channel == 4) {
								lineIndex = meltRegionDerivativeStr
										.indexOf("Channel4" + "+") + 9;
							}

							if (meltRegionDerivativeStr.indexOf("," + iNext
									+ ",", lineIndex) < meltRegionDerivativeStr
									.indexOf("," + i + ",", lineIndex) + 5) {
								lineString = "";
							} else {
								lineString = meltRegionDerivativeStr.substring(
										meltRegionDerivativeStr.indexOf("," + i
												+ ",", lineIndex) + 5,
										meltRegionDerivativeStr.indexOf(","
												+ iNext + ",", lineIndex));
							}

						}

					}
					if ("".equals(lineString)) {
						yValues.add(new Entry(0, 0));

					} else {
						int index = 0;
						lineString = lineString.substring(
								lineString.indexOf(",") + 1,
								lineString.length());
						index = lineString.indexOf(",") + 1;
						index = lineString.indexOf(",", index) + 1;
						lineString = lineString.substring(index,
								lineString.length());
						index = 0;

						// lineString.substring(500,lineString.length());
						int pointIndex = 0;
						while (lineString.indexOf(",", index) >= 0) {

							String xString = lineString.substring(index,
									lineString.indexOf(",", index));
							index = lineString.indexOf(",", index) + 1;
							if (!TextUtils.isEmpty(xString)) {
								try {
									yValues.add(new Entry(Float
											.parseFloat(xString), pointIndex));
								} catch (Exception e) {
									// TODO: handle exception
								}
							}

							pointIndex++;

						}
					}
					// meltRegionNormalizedStr =
					// meltRegionNormalizedStr.substring(
					// meltRegionNormalizedStr.indexOf("," + iNext + ",") + 5,
					// meltRegionNormalizedStr.length());
					//
					switch (i) {
					case 1:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDeria1.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSamplea1.add(dataSet);
						break;
					case 2:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDeria2.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSamplea2.add(dataSet);
						break;

					case 3:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDeria3.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSamplea3.add(dataSet);
						break;
					case 4:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDeria4.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSamplea4.add(dataSet);
						break;

					case 5:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDeria5.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSamplea5.add(dataSet);
						break;

					case 6:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDeria6.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSamplea6.add(dataSet);
						break;

					case 7:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDeria7.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSamplea7.add(dataSet);
						break;

					case 8:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDeria8.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSamplea8.add(dataSet);
						break;

					case 9:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDerib1.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSampleb1.add(dataSet);
						break;
					case 10:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDerib2.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSampleb2.add(dataSet);
						break;
					case 11:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDerib3.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSampleb3.add(dataSet);
						break;
					case 12:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDerib4.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSampleb4.add(dataSet);
						break;

					case 13:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDerib5.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSampleb5.add(dataSet);
						break;
					case 14:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDerib6.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSampleb6.add(dataSet);
						break;

					case 15:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDerib7.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSampleb7.add(dataSet);
						break;

					case 16:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDerib8.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSampleb8.add(dataSet);
						break;

					case 17:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDeric1.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSamplec1.add(dataSet);
						break;

					case 18:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDeric2.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSamplec2.add(dataSet);
						break;

					case 19:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDeric3.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSamplec3.add(dataSet);
						break;
					case 20:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDeric4.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSamplec4.add(dataSet);
						break;
					case 21:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDeric5.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSamplec5.add(dataSet);
						break;
					case 22:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDeric6.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSamplec6.add(dataSet);
						break;
					case 23:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDeric7.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSamplec7.add(dataSet);
						break;
					case 24:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDeric8.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSamplec8.add(dataSet);
						break;
					case 25:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDerid1.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSampled1.add(dataSet);
						break;
					case 26:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDerid2.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSampled2.add(dataSet);
						break;
					case 27:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDerid3.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSampled3.add(dataSet);
						break;
					case 28:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDerid4.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSampled4.add(dataSet);
						break;
					case 29:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDerid5.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSampled5.add(dataSet);
						break;
					case 30:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDerid6.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSampled6.add(dataSet);
						break;
					case 31:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDerid7.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSampled7.add(dataSet);
						break;
					case 32:
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
						dataListMeltCurveDerid8.add(dataSet);
						getMeltColor(i);
						addLineChart(yValues, color, 2);
						dataListMeltCurveDeriSampled8.add(dataSet);
						break;

					default:
						break;
					}
				}
			}

			// dataListMeltCurveArrayList
			dataListMeltCurveArrayList.add(dataListMeltCurvea1);
			dataListMeltCurveArrayList.add(dataListMeltCurvea2);
			dataListMeltCurveArrayList.add(dataListMeltCurvea3);
			dataListMeltCurveArrayList.add(dataListMeltCurvea4);
			dataListMeltCurveArrayList.add(dataListMeltCurvea5);
			dataListMeltCurveArrayList.add(dataListMeltCurvea6);
			dataListMeltCurveArrayList.add(dataListMeltCurvea7);
			dataListMeltCurveArrayList.add(dataListMeltCurvea8);
			dataListMeltCurveArrayList.add(dataListMeltCurveb1);
			dataListMeltCurveArrayList.add(dataListMeltCurveb2);
			dataListMeltCurveArrayList.add(dataListMeltCurveb3);
			dataListMeltCurveArrayList.add(dataListMeltCurveb4);
			dataListMeltCurveArrayList.add(dataListMeltCurveb5);
			dataListMeltCurveArrayList.add(dataListMeltCurveb6);
			dataListMeltCurveArrayList.add(dataListMeltCurveb7);
			dataListMeltCurveArrayList.add(dataListMeltCurveb8);
			dataListMeltCurveArrayList.add(dataListMeltCurvec1);
			dataListMeltCurveArrayList.add(dataListMeltCurvec2);
			dataListMeltCurveArrayList.add(dataListMeltCurvec3);
			dataListMeltCurveArrayList.add(dataListMeltCurvec4);
			dataListMeltCurveArrayList.add(dataListMeltCurvec5);
			dataListMeltCurveArrayList.add(dataListMeltCurvec6);
			dataListMeltCurveArrayList.add(dataListMeltCurvec7);
			dataListMeltCurveArrayList.add(dataListMeltCurvec8);
			dataListMeltCurveArrayList.add(dataListMeltCurved1);
			dataListMeltCurveArrayList.add(dataListMeltCurved2);
			dataListMeltCurveArrayList.add(dataListMeltCurved3);
			dataListMeltCurveArrayList.add(dataListMeltCurved4);
			dataListMeltCurveArrayList.add(dataListMeltCurved5);
			dataListMeltCurveArrayList.add(dataListMeltCurved6);
			dataListMeltCurveArrayList.add(dataListMeltCurved7);
			dataListMeltCurveArrayList.add(dataListMeltCurved8);
			// dataListMeltCurveDeriArrayList

			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDeria1);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDeria2);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDeria3);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDeria4);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDeria5);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDeria6);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDeria7);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDeria8);

			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDerib1);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDerib2);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDerib3);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDerib4);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDerib5);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDerib6);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDerib7);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDerib8);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDeric1);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDeric2);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDeric3);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDeric4);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDeric5);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDeric6);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDeric7);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDeric8);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDerid1);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDerid2);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDerid3);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDerid4);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDerid5);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDerid6);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDerid7);
			dataListMeltCurveDeriArrayList.add(dataListMeltCurveDerid8);

			// dataListMeltCurveDeriSampleArrayList
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSamplea1);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSamplea2);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSamplea3);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSamplea4);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSamplea5);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSamplea6);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSamplea7);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSamplea8);

			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSampleb1);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSampleb2);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSampleb3);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSampleb4);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSampleb5);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSampleb6);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSampleb7);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSampleb8);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSamplec1);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSamplec2);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSamplec3);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSamplec4);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSamplec5);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSamplec6);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSamplec7);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSamplec8);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSampled1);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSampled2);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSampled3);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSampled4);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSampled5);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSampled6);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSampled7);
			dataListMeltCurveDeriSampleArrayList
					.add(dataListMeltCurveDeriSampled8);

			// dataListMeltCurveSampleArrayList
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSamplea1);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSamplea2);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSamplea3);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSamplea4);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSamplea5);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSamplea6);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSamplea7);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSamplea8);

			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSampleb1);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSampleb2);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSampleb3);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSampleb4);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSampleb5);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSampleb6);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSampleb7);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSampleb8);
			
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSamplec1);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSamplec2);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSamplec3);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSamplec4);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSamplec5);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSamplec6);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSamplec7);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSamplec8);
			
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSampled1);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSampled2);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSampled3);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSampled4);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSampled5);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSampled6);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSampled7);
			dataListMeltCurveSampleArrayList.add(dataListMeltCurveSampled8);
		}

	}

	private void getMeltColor(int i) {
		color = "";

		if (i <= 16) {
			if ("sample".equals(dataSourceListBlock1.get(i - 1)
					.get("item_type"))) {
				color = "#ff2d55";
			} else if ("standard".equals(dataSourceListBlock1.get(i - 1).get(
					"item_type"))) {
				color = "#fd9727";
			} else if ("positive".equals(dataSourceListBlock1.get(i - 1).get(
					"item_type"))) {
				color = "#ff00a9";
			} else if ("negative".equals(dataSourceListBlock1.get(i - 1).get(
					"item_type"))) {
				color = "#159588";

			} else {
				color = "#ffffff";
			}
		} else if (i > 16) {
			if ("sample".equals(dataSourceListBlock2.get(i - 17).get(
					"item_type"))) {
				color = "#ff2d55";
			} else if ("standard".equals(dataSourceListBlock2.get(i - 17).get(
					"item_type"))) {
				color = "#fd9727";
			} else if ("positive".equals(dataSourceListBlock2.get(i - 17).get(
					"item_type"))) {
				color = "#ff00a9";
			} else if ("negative".equals(dataSourceListBlock2.get(i - 17).get(
					"item_type"))) {
				color = "#159588";

			} else {
				color = "#ffffff";
			}
		}

	}

	// 溶解曲线的数据获取

	// private void xzhou() {
	// String meltCurveStr = contextString.substring(
	// contextString.indexOf("Melt Region Temperature Data"),
	// contextString.length());
	//
	// // x軸的chanel1
	// for (int i = 1; i <= 32; i++) {
	// int iNext = i + 1;
	// ArrayList<Entry> yValues = new ArrayList<Entry>();
	// if (i <= 8) {
	// // 小于8和等于8的截取方式不同
	// if (i < 8) {
	// String lineString = meltCurveStr.substring(
	// meltCurveStr.indexOf("," + i + ",A" + i + ",") + 5,
	// meltCurveStr.indexOf("," + iNext + ",A" + iNext
	// + ","));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	//
	// } else {
	// String lineString = meltCurveStr.substring(
	// meltCurveStr.indexOf("," + i + ",A" + i + ",") + 5,
	// meltCurveStr.indexOf(",9,B1,"));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// }
	//
	// } else if (i > 8 & i <= 16) {
	// int iNum = i - 8;
	// int iNumNext = iNum + 1;
	//
	// // 小于8和等于8的截取方式不同
	// if (i < 16) {
	//
	// String lineString = meltCurveStr
	// .substring(meltCurveStr.indexOf(("," + i + ",B"
	// + iNum + ",")) + 5, meltCurveStr
	// .indexOf("," + iNext + ",B" + iNumNext
	// + ","));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// } else {
	// String lineString = meltCurveStr
	// .substring(meltCurveStr.indexOf(("," + i + ",B"
	// + iNum + ",")) + 5, meltCurveStr
	// .indexOf(",17,C1,"));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// }
	// } else if (i > 16 & i <= 24) {
	//
	// int iNum = i - 16;
	// int iNumNext = iNum + 1;
	//
	// // 小于8和等于8的截取方式不同
	// if (i < 24) {
	// String lineString = meltCurveStr
	// .substring(meltCurveStr.indexOf(("," + i + ",C"
	// + iNum + ",")) + 5, meltCurveStr
	// .indexOf("," + iNext + ",C" + iNumNext
	// + ","));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// System.out.println(yValues.size());
	// } else {
	// String lineString = meltCurveStr
	// .substring(meltCurveStr.indexOf(("," + i + ",C"
	// + iNum + ",")) + 5, meltCurveStr
	// .indexOf(",25,D1,"));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// }
	//
	// } else if (i > 24 & i <= 32) {
	//
	// int iNum = i - 24;
	// int iNumNext = iNum + 1;
	//
	// // 小于8和等于8的截取方式不同
	// if (i < 32) {
	// String lineString = meltCurveStr.substring(meltCurveStr
	// .indexOf(("," + i + ",D" + "" + iNum + ",")) + 5,
	// meltCurveStr.indexOf("," + iNext + ",D" + iNumNext
	// + ","));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// } else {
	// String lineString = meltCurveStr
	// .substring(meltCurveStr.indexOf(("," + i + ",D"
	// + iNum + ",")) + 5, meltCurveStr
	// .indexOf(",,Channel2"));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// }
	//
	// }
	// }
	//
	// // x軸的chanel2
	// meltCurveStr = meltCurveStr.substring(
	// meltCurveStr.indexOf("Channel2,Well"), meltCurveStr.length());
	// for (int i = 1; i <= 32; i++) {
	// int iNext = i + 1;
	// ArrayList<Entry> yValues = new ArrayList<Entry>();
	// if (i <= 8) {
	// // 小于8和等于8的截取方式不同
	// if (i < 8) {
	// String lineString = meltCurveStr.substring(
	// meltCurveStr.indexOf("," + i + ",A" + i + ",") + 5,
	// meltCurveStr.indexOf("," + iNext + ",A" + iNext
	// + ","));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// } else {
	// String lineString = meltCurveStr.substring(
	// meltCurveStr.indexOf("," + i + ",A" + i + ",") + 5,
	// meltCurveStr.indexOf(",9,B1,"));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// }
	//
	// } else if (i > 8 & i <= 16) {
	// int iNum = i - 8;
	// int iNumNext = iNum + 1;
	//
	// // 小于8和等于8的截取方式不同
	// if (i < 16) {
	//
	// String lineString = meltCurveStr
	// .substring(meltCurveStr.indexOf(("," + i + ",B"
	// + iNum + ",")) + 5, meltCurveStr
	// .indexOf("," + iNext + ",B" + iNumNext
	// + ","));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// } else {
	// String lineString = meltCurveStr
	// .substring(meltCurveStr.indexOf(("," + i + ",B"
	// + iNum + ",")) + 5, meltCurveStr
	// .indexOf(",17,C1,"));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// }
	// } else if (i > 16 & i <= 24) {
	//
	// int iNum = i - 16;
	// int iNumNext = iNum + 1;
	//
	// // 小于8和等于8的截取方式不同
	// if (i < 24) {
	// String lineString = meltCurveStr
	// .substring(meltCurveStr.indexOf(("," + i + ",C"
	// + iNum + ",")) + 5, meltCurveStr
	// .indexOf("," + iNext + ",C" + iNumNext
	// + ","));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// } else {
	// String lineString = meltCurveStr
	// .substring(meltCurveStr.indexOf(("," + i + ",C"
	// + iNum + ",")) + 5, meltCurveStr
	// .indexOf(",25,D1,"));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// }
	//
	// } else if (i > 24 & i <= 32) {
	//
	// int iNum = i - 24;
	// int iNumNext = iNum + 1;
	//
	// // 小于8和等于8的截取方式不同
	// if (i < 32) {
	// String lineString = meltCurveStr.substring(meltCurveStr
	// .indexOf(("," + i + ",D" + "" + iNum + ",")) + 5,
	// meltCurveStr.indexOf("," + iNext + ",D" + iNumNext
	// + ","));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// System.out.println(yValues.size());
	// } else {
	// String lineString = meltCurveStr
	// .substring(meltCurveStr.indexOf(("," + i + ",D"
	// + iNum + ",")) + 5, meltCurveStr
	// .indexOf(",,Channel3"));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// }
	//
	// }
	// }
	// // channel3
	// // x軸的chanel2
	// meltCurveStr = meltCurveStr.substring(
	// meltCurveStr.indexOf("Channel3,Well"), meltCurveStr.length());
	// for (int i = 1; i <= 32; i++) {
	// int iNext = i + 1;
	// ArrayList<Entry> yValues = new ArrayList<Entry>();
	// if (i <= 8) {
	// // 小于8和等于8的截取方式不同
	// if (i < 8) {
	// String lineString = meltCurveStr.substring(
	// meltCurveStr.indexOf("," + i + ",A" + i + ",") + 5,
	// meltCurveStr.indexOf("," + iNext + ",A" + iNext
	// + ","));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// } else {
	// String lineString = meltCurveStr.substring(
	// meltCurveStr.indexOf("," + i + ",A" + i + ",") + 5,
	// meltCurveStr.indexOf(",9,B1,"));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// }
	//
	// } else if (i > 8 & i <= 16) {
	// int iNum = i - 8;
	// int iNumNext = iNum + 1;
	//
	// // 小于8和等于8的截取方式不同
	// if (i < 16) {
	//
	// String lineString = meltCurveStr
	// .substring(meltCurveStr.indexOf(("," + i + ",B"
	// + iNum + ",")) + 5, meltCurveStr
	// .indexOf("," + iNext + ",B" + iNumNext
	// + ","));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// System.out.println(yValues.size());
	// } else {
	// String lineString = meltCurveStr
	// .substring(meltCurveStr.indexOf(("," + i + ",B"
	// + iNum + ",")) + 5, meltCurveStr
	// .indexOf(",17,C1,"));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// }
	// } else if (i > 16 & i <= 24) {
	//
	// int iNum = i - 16;
	// int iNumNext = iNum + 1;
	//
	// // 小于8和等于8的截取方式不同
	// if (i < 24) {
	// String lineString = meltCurveStr
	// .substring(meltCurveStr.indexOf(("," + i + ",C"
	// + iNum + ",")) + 5, meltCurveStr
	// .indexOf("," + iNext + ",C" + iNumNext
	// + ","));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// System.out.println(yValues.size());
	// } else {
	// String lineString = meltCurveStr
	// .substring(meltCurveStr.indexOf(("," + i + ",C"
	// + iNum + ",")) + 5, meltCurveStr
	// .indexOf(",25,D1,"));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// }
	//
	// } else if (i > 24 & i <= 32) {
	//
	// int iNum = i - 24;
	// int iNumNext = iNum + 1;
	//
	// // 小于8和等于8的截取方式不同
	// if (i < 32) {
	// String lineString = meltCurveStr.substring(meltCurveStr
	// .indexOf(("," + i + ",D" + "" + iNum + ",")) + 5,
	// meltCurveStr.indexOf("," + iNext + ",D" + iNumNext
	// + ","));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// System.out.println(yValues.size());
	// } else {
	// String lineString = meltCurveStr
	// .substring(meltCurveStr.indexOf(("," + i + ",D"
	// + iNum + ",")) + 5, meltCurveStr
	// .indexOf(",,Channel4"));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// }
	//
	// }
	// }
	//
	// // x軸的chanel4
	// meltCurveStr = meltCurveStr.substring(
	// meltCurveStr.indexOf("Channel4,Well"), meltCurveStr.length());
	// for (int i = 1; i <= 32; i++) {
	// int iNext = i + 1;
	// ArrayList<Entry> yValues = new ArrayList<Entry>();
	// if (i <= 8) {
	// // 小于8和等于8的截取方式不同
	// if (i < 8) {
	// String lineString = meltCurveStr.substring(
	// meltCurveStr.indexOf("," + i + ",A" + i + ",") + 5,
	// meltCurveStr.indexOf("," + iNext + ",A" + iNext
	// + ","));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// } else {
	// String lineString = meltCurveStr.substring(
	// meltCurveStr.indexOf("," + i + ",A" + i + ",") + 5,
	// meltCurveStr.indexOf(",9,B1,"));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// }
	//
	// } else if (i > 8 & i <= 16) {
	// int iNum = i - 8;
	// int iNumNext = iNum + 1;
	//
	// // 小于8和等于8的截取方式不同
	// if (i < 16) {
	//
	// String lineString = meltCurveStr
	// .substring(meltCurveStr.indexOf(("," + i + ",B"
	// + iNum + ",")) + 5, meltCurveStr
	// .indexOf("," + iNext + ",B" + iNumNext
	// + ","));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// } else {
	// String lineString = meltCurveStr
	// .substring(meltCurveStr.indexOf(("," + i + ",B"
	// + iNum + ",")) + 5, meltCurveStr
	// .indexOf(",17,C1,"));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// }
	// } else if (i > 16 & i <= 24) {
	//
	// int iNum = i - 16;
	// int iNumNext = iNum + 1;
	//
	// // 小于8和等于8的截取方式不同
	// if (i < 24) {
	// String lineString = meltCurveStr
	// .substring(meltCurveStr.indexOf(("," + i + ",C"
	// + iNum + ",")) + 5, meltCurveStr
	// .indexOf("," + iNext + ",C" + iNumNext
	// + ","));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// System.out.println(yValues.size());
	// } else {
	// String lineString = meltCurveStr
	// .substring(meltCurveStr.indexOf(("," + i + ",C"
	// + iNum + ",")) + 5, meltCurveStr
	// .indexOf(",25,D1,"));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// }
	//
	// } else if (i > 24 & i <= 32) {
	//
	// int iNum = i - 24;
	// int iNumNext = iNum + 1;
	//
	// // 小于8和等于8的截取方式不同
	// if (i < 32) {
	// String lineString = meltCurveStr.substring(meltCurveStr
	// .indexOf(("," + i + ",D" + "" + iNum + ",")) + 5,
	// meltCurveStr.indexOf("," + iNext + ",D" + iNumNext
	// + ","));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// } else {
	// String lineString = meltCurveStr
	// .substring(meltCurveStr.indexOf(("," + i + ",D"
	// + iNum + ",")) + 5, meltCurveStr
	// .indexOf(",,Melt Region Normalized Data"));
	// int index = 0;
	// lineString = lineString.substring(
	// lineString.indexOf(",") + 1, lineString.length());
	// index = lineString.indexOf(",") + 1;
	// index = lineString.indexOf(",", index) + 1;
	// lineString = lineString.substring(index,
	// lineString.length());
	// index = 0;
	// while (lineString.indexOf(",", index) >= 0) {
	//
	// String xString = lineString.substring(index,
	// lineString.indexOf(",", index));
	// index = lineString.indexOf(",", index) + 1;
	// yValues.add(new Entry(Float.parseFloat(xString), i - 1));
	//
	// }
	// }
	//
	// }
	// }
	//
	//
	// }

	// 获取实验信息
	public void getExperimentData() {

		xValues = new ArrayList<String>();
		for (int i = 1; i < 42; i++) {
			xValues.add(i + "");
		}

		Log.e("wing", xValues.size() + "");

		// 模拟一组y轴数据(存放y轴数据的是一个Entry的ArrayList) 他是构建LineDataSet的参数之一

		ArrayList<Entry> yValues = new ArrayList<Entry>();
		// for (int i = 0; i < 11; i++) {
		// yValue.add(new Entry(i, i));
		// }

		contextString = new StringBuffer(contextString.substring(
				contextString.indexOf("Multicomponent Data"),
				contextString.length()).toString());
		int channel = 0;
		for (int n = 1; n <= 4; n++) {
			int index = 0;
			switch (n) {
			case 1:
				index = contextString.indexOf("Channel1,line1,") + 9;
				channel = 1;
				break;
			case 2:
				index = contextString.indexOf("Channel2,line1,") + 9;
				channel = 2;
				break;
			case 3:
				index = contextString.indexOf("Channel3,line1,") + 9;
				channel = 3;
				break;
			case 4:
				index = contextString.indexOf("Channel4,line1,") + 9;
				channel = 4;
				break;
			default:
				break;
			}

			for (int i = 1; i <= 32; i++) {
				yValues = new ArrayList<Entry>();
				// 截取当前线所有数据
				int nexti = i + 1;
				String lineDataStr = "";

				if (i < 32) {

					lineDataStr = contextString
							.substring(contextString.indexOf("line" + i + ",",
									index - 1) + 5,

							contextString.indexOf("line" + nexti + ",", index));

				} else {

					lineDataStr = contextString
							.substring(contextString.indexOf("line" + i + ",",
									index - 1) + 6,

							contextString.indexOf(",,", index) + 1);

				}

				int indexj = 0;
				if (lineDataStr.length() < 5) {
					yValues.add(new Entry(0, 0));
					String color = "";
				} else {
					// yValues.add(new Entry(0, 0));
					String color = "";
					if (lineDataStr.length() < 2) {
						yValues.add(null);
						color = "";
					} else {
						for (int j = 1; j <= repititionsNum; j++) {
							Float fyValue;

							if (j < 10) {

								int firstDouhao = lineDataStr.indexOf(",",
										indexj) + 1;
								fyValue = Float.parseFloat(lineDataStr
										.substring(lineDataStr.indexOf(",",
												indexj) + 1,

										lineDataStr.indexOf(",", firstDouhao)));

								yValues.add(new Entry(fyValue, j - 1));
							} else {

								int firstDouhao = lineDataStr.indexOf(",",
										indexj) + 1;
								fyValue = Float.parseFloat(lineDataStr
										.substring(lineDataStr.indexOf(",",
												indexj) + 1,

										lineDataStr.indexOf(",", firstDouhao)));

								yValues.add(new Entry(fyValue, j - 1));
							}
							indexj = lineDataStr.indexOf(",", indexj) + 1;

						}
						color = "";
					}
				}

				switch (i) {
				case 1:
					if (channel == Integer.parseInt(dataSourceListBlock1.get(0)
							.get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock1.get(0).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {
						addLineChart(yValues,
								dataSourceListBlock1.get(0).get("item_image")
										.toString(), 1);
					}

					dataLista1.add(dataSet);

					if (channel == Integer.parseInt(dataSourceListBlock1.get(0)
							.get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock1.get(0).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1
								.get(0).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1
								.get(0).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1
								.get(0).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {
						if ("sample".equals(dataSourceListBlock1.get(0).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1
								.get(0).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1
								.get(0).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1
								.get(0).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					}

					dataLista1Sample.add(dataSet);

					if (channel == Integer.parseInt(dataSourceListBlock1.get(0)
							.get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock1.get(0)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock1.get(0)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}

					dataLista1Dyes.add(dataSet);
					break;
				case 2:
					if (channel == Integer.parseInt(dataSourceListBlock1.get(1)
							.get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {
						addLineChart(yValues,
								dataSourceListBlock1.get(1).get("item_image")
										.toString(), 1);
					}
					dataLista2.add(dataSet);

					if (channel == Integer.parseInt(dataSourceListBlock1.get(1)
							.get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock1.get(1).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1
								.get(1).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1
								.get(1).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1
								.get(1).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock1.get(1).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1
								.get(1).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1
								.get(1).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1
								.get(1).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataLista2Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1.get(1)
							.get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock1.get(1)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock1.get(1)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataLista2Dyes.add(dataSet);
					break;
				case 3:
					if (channel == Integer.parseInt(dataSourceListBlock1.get(2)
							.get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock1.get(2).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock1.get(2).get("item_image")
										.toString(), 1);

					}
					dataLista3.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1.get(2)
							.get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock1.get(2).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1
								.get(2).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1
								.get(2).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1
								.get(2).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock1.get(2).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1
								.get(2).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1
								.get(2).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1
								.get(2).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataLista3Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1.get(2)
							.get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock1.get(2)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock1.get(2)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataLista3Dyes.add(dataSet);

					break;
				case 4:
					if (channel == Integer.parseInt(dataSourceListBlock1.get(3)
							.get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock1.get(3).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock1.get(3).get("item_image")
										.toString(), 1);

					}
					dataLista4.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1.get(3)
							.get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock1.get(3).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1
								.get(3).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1
								.get(3).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1
								.get(3).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock1.get(3).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1
								.get(3).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1
								.get(3).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1
								.get(3).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataLista4Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1.get(3)
							.get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock1.get(3)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock1.get(3)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataLista4Dyes.add(dataSet);
					break;
				case 5:
					if (channel == Integer.parseInt(dataSourceListBlock1.get(4)
							.get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock1.get(4).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock1.get(4).get("item_image")
										.toString(), 1);

					}
					dataLista5.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1.get(4)
							.get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock1.get(4).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1
								.get(4).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1
								.get(4).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1
								.get(4).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock1.get(4).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1
								.get(4).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1
								.get(4).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1
								.get(4).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataLista5Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1.get(4)
							.get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock1.get(4)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock1.get(4)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataLista5Dyes.add(dataSet);
					break;
				case 6:
					if (channel == Integer.parseInt(dataSourceListBlock1.get(5)
							.get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock1.get(5).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock1.get(5).get("item_image")
										.toString(), 1);

					}
					dataLista6.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1.get(5)
							.get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock1.get(5).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1
								.get(5).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1
								.get(5).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1
								.get(5).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock1.get(5).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1
								.get(5).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1
								.get(5).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1
								.get(5).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataLista6Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1.get(5)
							.get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock1.get(5)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock1.get(5)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataLista6Dyes.add(dataSet);
					break;
				case 7:
					if (channel == Integer.parseInt(dataSourceListBlock1.get(6)
							.get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock1.get(6).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock1.get(6).get("item_image")
										.toString(), 1);

					}
					dataLista7.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1.get(6)
							.get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock1.get(6).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1
								.get(6).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1
								.get(6).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1
								.get(6).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock1.get(6).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1
								.get(6).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1
								.get(6).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1
								.get(6).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataLista7Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1.get(6)
							.get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock1.get(6)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock1.get(6)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataLista7Dyes.add(dataSet);
					break;
				case 8:
					if (channel == Integer.parseInt(dataSourceListBlock1.get(7)
							.get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock1.get(7).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock1.get(7).get("item_image")
										.toString(), 1);

					}
					dataLista8.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1.get(7)
							.get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock1.get(7).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1
								.get(7).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1
								.get(7).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1
								.get(7).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock1.get(7).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1
								.get(7).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1
								.get(7).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1
								.get(7).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataLista8Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1.get(7)
							.get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock1.get(7)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock1.get(7)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataLista8Dyes.add(dataSet);
					break;
				case 9:
					if (channel == Integer.parseInt(dataSourceListBlock1.get(8)
							.get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock1.get(8).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock1.get(8).get("item_image")
										.toString(), 1);

					}
					dataListb1.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1.get(8)
							.get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock1.get(8).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1
								.get(8).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1
								.get(8).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1
								.get(8).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock1.get(8).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1
								.get(8).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1
								.get(8).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1
								.get(8).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataListb1Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1.get(8)
							.get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock1.get(8)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock1.get(8)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataListb1Dyes.add(dataSet);
					break;
				case 10:
					if (channel == Integer.parseInt(dataSourceListBlock1.get(9)
							.get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock1.get(9).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock1.get(9).get("item_image")
										.toString(), 1);

					}
					dataListb2.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1.get(9)
							.get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock1.get(9).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1
								.get(9).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1
								.get(9).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1
								.get(9).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock1.get(9).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1
								.get(9).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1
								.get(9).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1
								.get(9).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataListb2Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1.get(9)
							.get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock1.get(9)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock1.get(9)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataListb2Dyes.add(dataSet);
					break;
				case 11:
					if (channel == Integer.parseInt(dataSourceListBlock1
							.get(10).get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock1.get(10).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock1.get(10).get("item_image")
										.toString(), 1);

					}
					dataListb3.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1
							.get(10).get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock1.get(10).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1.get(
								10).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1.get(
								10).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1.get(
								10).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock1.get(10).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1.get(
								10).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1.get(
								10).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1.get(
								10).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataListb3Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1
							.get(10).get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock1.get(10)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock1.get(10)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataListb3Dyes.add(dataSet);
					break;
				case 12:
					if (channel == Integer.parseInt(dataSourceListBlock1
							.get(11).get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock1.get(11).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock1.get(11).get("item_image")
										.toString(), 1);

					}
					dataListb4.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1
							.get(11).get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock1.get(11).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1.get(
								11).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1.get(
								11).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1.get(
								11).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock1.get(11).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1.get(
								11).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1.get(
								11).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1.get(
								11).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataListb4Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1
							.get(11).get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock1.get(11)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock1.get(11)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataListb4Dyes.add(dataSet);
					break;
				case 13:
					if (channel == Integer.parseInt(dataSourceListBlock1
							.get(12).get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock1.get(12).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock1.get(12).get("item_image")
										.toString(), 1);

					}
					dataListb5.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1
							.get(12).get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock1.get(12).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1.get(
								12).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1.get(
								12).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1.get(
								12).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock1.get(12).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1.get(
								12).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1.get(
								12).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1.get(
								12).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataListb5Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1
							.get(12).get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock1.get(12)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock1.get(12)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataListb5Dyes.add(dataSet);
					break;
				case 14:
					if (channel == Integer.parseInt(dataSourceListBlock1
							.get(13).get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock1.get(13).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock1.get(13).get("item_image")
										.toString(), 1);

					}
					dataListb6.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1
							.get(13).get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock1.get(13).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1.get(
								13).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1.get(
								13).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1.get(
								13).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock1.get(13).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1.get(
								13).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1.get(
								13).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1.get(
								13).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataListb6Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1
							.get(13).get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock1.get(13)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock1.get(13)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					break;
				case 15:
					if (channel == Integer.parseInt(dataSourceListBlock1
							.get(14).get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock1.get(14).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock1.get(14).get("item_image")
										.toString(), 1);

					}
					dataListb7.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1
							.get(14).get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock1.get(14).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1.get(
								14).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1.get(
								14).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1.get(
								14).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock1.get(14).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1.get(
								14).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1.get(
								14).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1.get(
								14).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataListb7Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1
							.get(14).get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock1.get(14)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock1.get(14)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataListb7Dyes.add(dataSet);
					break;
				case 16:
					if (channel == Integer.parseInt(dataSourceListBlock1
							.get(15).get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock1.get(15).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock1.get(15).get("item_image")
										.toString(), 1);

					}
					dataListb8.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1
							.get(15).get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock1.get(15).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1.get(
								15).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1.get(
								15).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1.get(
								15).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock1.get(15).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock1.get(
								15).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock1.get(
								15).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock1.get(
								15).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataListb8Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock1
							.get(15).get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock1.get(15)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock1.get(15)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataListb8Dyes.add(dataSet);
					break;
				case 17:
					if (channel == Integer.parseInt(dataSourceListBlock2.get(0)
							.get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock2.get(0).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock2.get(0).get("item_image")
										.toString(), 1);

					}
					dataListc1.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2.get(0)
							.get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock2.get(0).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2
								.get(0).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2
								.get(0).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2
								.get(0).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock2.get(0).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2
								.get(0).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2
								.get(0).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2
								.get(0).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataListc1Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2.get(0)
							.get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock2.get(0)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock2.get(0)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataListc1Dyes.add(dataSet);
					break;
				case 18:
					if (channel == Integer.parseInt(dataSourceListBlock2.get(1)
							.get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock2.get(1).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock2.get(1).get("item_image")
										.toString(), 1);

					}
					dataListc2.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2.get(1)
							.get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock2.get(1).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2
								.get(1).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2
								.get(1).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2
								.get(1).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock2.get(1).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2
								.get(1).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2
								.get(1).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2
								.get(1).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataListc2Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2.get(1)
							.get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock2.get(1)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock2.get(1)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataListc2Dyes.add(dataSet);
					break;
				case 19:
					if (channel == Integer.parseInt(dataSourceListBlock2.get(2)
							.get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock2.get(2).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock2.get(2).get("item_image")
										.toString(), 1);

					}
					dataListc3.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2.get(2)
							.get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock2.get(2).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2
								.get(2).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2
								.get(2).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2
								.get(2).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock2.get(2).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2
								.get(2).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2
								.get(2).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2
								.get(2).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataListc3Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2.get(2)
							.get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock2.get(2)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock2.get(2)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataListc3Dyes.add(dataSet);
					break;
				case 20:
					if (channel == Integer.parseInt(dataSourceListBlock2.get(3)
							.get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock2.get(3).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock2.get(3).get("item_image")
										.toString(), 1);

					}
					dataListc4.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2.get(3)
							.get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock2.get(3).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2
								.get(3).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2
								.get(3).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2
								.get(3).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock2.get(3).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2
								.get(3).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2
								.get(3).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2
								.get(3).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataListc4Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2.get(3)
							.get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock2.get(3)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock2.get(3)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataListc4Dyes.add(dataSet);
					break;
				case 21:
					if (channel == Integer.parseInt(dataSourceListBlock2.get(4)
							.get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock2.get(4).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock2.get(4).get("item_image")
										.toString(), 1);

					}
					dataListc5.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2.get(4)
							.get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock2.get(4).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2
								.get(4).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2
								.get(4).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2
								.get(4).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock2.get(4).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2
								.get(4).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2
								.get(4).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2
								.get(4).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataListc5Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2.get(4)
							.get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock2.get(4)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock2.get(4)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataListc5Dyes.add(dataSet);
					break;
				case 22:
					if (channel == Integer.parseInt(dataSourceListBlock2.get(5)
							.get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock2.get(5).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock2.get(5).get("item_image")
										.toString(), 1);

					}
					dataListc6.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2.get(5)
							.get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock2.get(5).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2
								.get(5).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2
								.get(5).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2
								.get(5).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock2.get(5).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2
								.get(5).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2
								.get(5).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2
								.get(5).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataListc6Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2.get(5)
							.get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock2.get(5)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock2.get(5)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataListc6Dyes.add(dataSet);
					break;
				case 23:
					if (channel == Integer.parseInt(dataSourceListBlock2.get(6)
							.get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock2.get(6).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock2.get(6).get("item_image")
										.toString(), 1);

					}
					dataListc7.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2.get(6)
							.get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock2.get(6).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2
								.get(6).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2
								.get(6).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2
								.get(6).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock2.get(6).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2
								.get(6).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2
								.get(6).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2
								.get(6).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataListc7Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2.get(6)
							.get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock2.get(6)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock2.get(6)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataListc7Dyes.add(dataSet);
					break;
				case 24:
					if (channel == Integer.parseInt(dataSourceListBlock2.get(7)
							.get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock2.get(7).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock2.get(7).get("item_image")
										.toString(), 1);

					}
					dataListc8.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2.get(7)
							.get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock2.get(7).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2
								.get(7).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2
								.get(7).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2
								.get(7).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock2.get(7).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2
								.get(7).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2
								.get(7).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2
								.get(7).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataListc8Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2.get(7)
							.get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock2.get(7)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock2.get(7)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataListc8Dyes.add(dataSet);
					break;
				case 25:
					if (channel == Integer.parseInt(dataSourceListBlock2.get(8)
							.get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock2.get(8).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock2.get(8).get("item_image")
										.toString(), 1);

					}
					dataListd1.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2.get(8)
							.get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock2.get(8).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2
								.get(8).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2
								.get(8).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2
								.get(8).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock2.get(8).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2
								.get(8).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2
								.get(8).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2
								.get(8).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataListd1Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2.get(8)
							.get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock2.get(8)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock2.get(8)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataListd1Dyes.add(dataSet);
					break;
				case 26:
					if (channel == Integer.parseInt(dataSourceListBlock2.get(9)
							.get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock2.get(9).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock2.get(9).get("item_image")
										.toString(), 1);

					}
					dataListd2.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2.get(9)
							.get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock2.get(9).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2
								.get(9).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2
								.get(9).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2
								.get(9).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock2.get(9).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2
								.get(9).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2
								.get(9).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2
								.get(9).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataListd2Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2.get(9)
							.get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock2.get(9)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock2.get(9)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataListd2Dyes.add(dataSet);
					break;
				case 27:
					if (channel == Integer.parseInt(dataSourceListBlock2
							.get(10).get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock2.get(10).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock2.get(10).get("item_image")
										.toString(), 1);

					}
					dataListd3.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2
							.get(10).get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock2.get(10).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2.get(
								10).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2.get(
								10).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2.get(
								10).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock2.get(10).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2.get(
								10).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2.get(
								10).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2.get(
								10).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataListd3Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2
							.get(10).get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock2.get(10)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock2.get(10)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataListd3Dyes.add(dataSet);
					break;
				case 28:
					if (channel == Integer.parseInt(dataSourceListBlock2
							.get(11).get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock2.get(11).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock2.get(11).get("item_image")
										.toString(), 1);

					}
					dataListd4.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2
							.get(11).get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock2.get(11).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2.get(
								11).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2.get(
								11).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2.get(
								11).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock2.get(11).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2.get(
								11).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2.get(
								11).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2.get(
								11).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					addLineChart(yValues, color, 2);
					dataListd4Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2
							.get(11).get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock2.get(11)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock2.get(11)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataListd4Dyes.add(dataSet);
					break;
				case 29:
					if (channel == Integer.parseInt(dataSourceListBlock2
							.get(12).get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock2.get(12).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock2.get(12).get("item_image")
										.toString(), 1);

					}
					dataListd5.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2
							.get(12).get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock2.get(12).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2.get(
								12).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2.get(
								12).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2.get(
								12).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					}
					dataListd5Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2
							.get(12).get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock2.get(12)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock2.get(12).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2.get(
								12).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2.get(
								12).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2.get(
								12).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataListd5Dyes.add(dataSet);
					break;

				case 30:
					if (channel == Integer.parseInt(dataSourceListBlock2
							.get(13).get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock2.get(13).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock2.get(13).get("item_image")
										.toString(), 1);

					}
					dataListd6.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2
							.get(13).get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock2.get(13).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2.get(
								13).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2.get(
								13).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2.get(
								13).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock2.get(13).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2.get(
								13).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2.get(
								13).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2.get(
								13).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataListd6Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2
							.get(13).get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock2.get(13)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock2.get(13)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataListd6Dyes.add(dataSet);
					break;
				case 31:
					if (channel == Integer.parseInt(dataSourceListBlock2
							.get(14).get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock2.get(14).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock2.get(14).get("item_image")
										.toString(), 1);

					}
					dataListd7.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2
							.get(14).get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock2.get(14).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2.get(
								14).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2.get(
								14).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2.get(
								14).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock2.get(14).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2.get(
								14).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2.get(
								14).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2.get(
								14).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataListd7Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2
							.get(14).get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock2.get(14)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock2.get(14)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataListd7Dyes.add(dataSet);
					break;
				case 32:
					if (channel == Integer.parseInt(dataSourceListBlock2
							.get(15).get("item_aisle").toString())) {
						addLineChart(yValues,
								dataSourceListBlock2.get(15).get("item_image")
										.toString(), 1);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}

					} else {

						addLineChart(yValues,
								dataSourceListBlock2.get(15).get("item_image")
										.toString(), 1);

					}
					dataListd8.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2
							.get(15).get("item_aisle").toString())) {
						if ("sample".equals(dataSourceListBlock2.get(15).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2.get(
								15).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2.get(
								15).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2.get(
								15).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						if ("sample".equals(dataSourceListBlock2.get(15).get(
								"item_type"))) {
							color = "#ff2d55";
						} else if ("standard".equals(dataSourceListBlock2.get(
								15).get("item_type"))) {
							color = "#fd9727";
						} else if ("positive".equals(dataSourceListBlock2.get(
								15).get("item_type"))) {
							color = "#ff00a9";
						} else if ("negative".equals(dataSourceListBlock2.get(
								15).get("item_type"))) {
							color = "#159588";

						} else {
							color = "#ffffff";
						}
						addLineChart(yValues, color, 2);

					}
					dataListd8Sample.add(dataSet);
					if (channel == Integer.parseInt(dataSourceListBlock2
							.get(15).get("item_aisle").toString())) {
						switch (Integer.parseInt(dataSourceListBlock2.get(15)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);
					} else if (channel == Integer.parseInt(passReferenceNum)) {
						if (channel == 1) {
							addLineChart(yValues, "#0000ff", 2);
						} else if (channel == 2) {
							addLineChart(yValues, "#00ff00", 2);
						} else if (channel == 3) {
							addLineChart(yValues, "#ffff00", 2);
						} else if (channel == 4) {
							addLineChart(yValues, "#ff0000", 2);
						}
					} else {

						switch (Integer.parseInt(dataSourceListBlock2.get(15)
								.get("item_aisle") + "")) {
						case 1:
							color = "#0000ff";
							break;
						case 2:
							color = "#00ff00";
							break;

						case 3:
							color = "#ffff00";
							break;

						case 4:
							color = "#ff0000";
							break;

						default:
							break;
						}
						addLineChart(yValues, color, 2);

					}
					dataListd8Dyes.add(dataSet);
					break;

				default:
					break;
				}
				index = contextString.indexOf("line" + nexti + ",", index);

			}

		}

		// 构建一个LineDataSet 代表一组Y轴数据 （比如不同的彩票: 七星彩 双色球）

		// dataSeta8 = new LineDataSet(yValue7, "");
		// dataSeta8.setColor(Color.RED);// 设置颜色
		// dataSeta8.setLineWidth(1);
		// dataSeta8.setCircleSize(0f);
		// dataSeta8.setValueTextSize(0);

		// 把数据都放到总集合中dataListArrayList
		dataListArrayList.add(dataLista1);
		dataListArrayList.add(dataLista2);
		dataListArrayList.add(dataLista3);
		dataListArrayList.add(dataLista4);
		dataListArrayList.add(dataLista5);
		dataListArrayList.add(dataLista6);
		dataListArrayList.add(dataLista7);
		dataListArrayList.add(dataLista8);
		dataListArrayList.add(dataListb1);
		dataListArrayList.add(dataListb2);
		dataListArrayList.add(dataListb3);
		dataListArrayList.add(dataListb4);
		dataListArrayList.add(dataListb5);
		dataListArrayList.add(dataListb6);
		dataListArrayList.add(dataListb7);
		dataListArrayList.add(dataListb8);
		dataListArrayList.add(dataListc1);
		dataListArrayList.add(dataListc2);
		dataListArrayList.add(dataListc3);
		dataListArrayList.add(dataListc4);
		dataListArrayList.add(dataListc5);
		dataListArrayList.add(dataListc6);
		dataListArrayList.add(dataListc7);
		dataListArrayList.add(dataListc8);
		dataListArrayList.add(dataListd1);
		dataListArrayList.add(dataListd2);
		dataListArrayList.add(dataListd3);
		dataListArrayList.add(dataListd4);
		dataListArrayList.add(dataListd5);
		dataListArrayList.add(dataListd6);
		dataListArrayList.add(dataListd7);
		dataListArrayList.add(dataListd8);

		// sample
		dataListSampleArrayList.add(dataLista1Sample);
		dataListSampleArrayList.add(dataLista2Sample);
		dataListSampleArrayList.add(dataLista3Sample);
		dataListSampleArrayList.add(dataLista4Sample);
		dataListSampleArrayList.add(dataLista5Sample);
		dataListSampleArrayList.add(dataLista6Sample);
		dataListSampleArrayList.add(dataLista7Sample);
		dataListSampleArrayList.add(dataLista8Sample);
		dataListSampleArrayList.add(dataListb1Sample);
		dataListSampleArrayList.add(dataListb2Sample);
		dataListSampleArrayList.add(dataListb3Sample);
		dataListSampleArrayList.add(dataListb4Sample);
		dataListSampleArrayList.add(dataListb5Sample);
		dataListSampleArrayList.add(dataListb6Sample);
		dataListSampleArrayList.add(dataListb7Sample);
		dataListSampleArrayList.add(dataListb8Sample);
		dataListSampleArrayList.add(dataListc1Sample);
		dataListSampleArrayList.add(dataListc2Sample);
		dataListSampleArrayList.add(dataListc3Sample);
		dataListSampleArrayList.add(dataListc4Sample);
		dataListSampleArrayList.add(dataListc5Sample);
		dataListSampleArrayList.add(dataListc6Sample);
		dataListSampleArrayList.add(dataListc7Sample);
		dataListSampleArrayList.add(dataListc8Sample);
		dataListSampleArrayList.add(dataListd1Sample);
		dataListSampleArrayList.add(dataListd2Sample);
		dataListSampleArrayList.add(dataListd3Sample);
		dataListSampleArrayList.add(dataListd4Sample);
		dataListSampleArrayList.add(dataListd5Sample);
		dataListSampleArrayList.add(dataListd6Sample);
		dataListSampleArrayList.add(dataListd7Sample);
		dataListSampleArrayList.add(dataListd8Sample);

		dataListDyesArrayList.add(dataLista1Dyes);
		dataListDyesArrayList.add(dataLista2Dyes);
		dataListDyesArrayList.add(dataLista3Dyes);
		dataListDyesArrayList.add(dataLista4Dyes);
		dataListDyesArrayList.add(dataLista5Dyes);
		dataListDyesArrayList.add(dataLista6Dyes);
		dataListDyesArrayList.add(dataLista7Dyes);
		dataListDyesArrayList.add(dataLista8Dyes);

		dataListDyesArrayList.add(dataListb1Dyes);
		dataListDyesArrayList.add(dataListb2Dyes);
		dataListDyesArrayList.add(dataListb3Dyes);
		dataListDyesArrayList.add(dataListb4Dyes);
		dataListDyesArrayList.add(dataListb5Dyes);
		dataListDyesArrayList.add(dataListb6Dyes);
		dataListDyesArrayList.add(dataListb7Dyes);
		dataListDyesArrayList.add(dataListb8Dyes);

		dataListDyesArrayList.add(dataListc1Dyes);
		dataListDyesArrayList.add(dataListc2Dyes);
		dataListDyesArrayList.add(dataListc3Dyes);
		dataListDyesArrayList.add(dataListc4Dyes);
		dataListDyesArrayList.add(dataListc5Dyes);
		dataListDyesArrayList.add(dataListc6Dyes);
		dataListDyesArrayList.add(dataListc7Dyes);
		dataListDyesArrayList.add(dataListc8Dyes);

		dataListDyesArrayList.add(dataListd1Dyes);
		dataListDyesArrayList.add(dataListd2Dyes);
		dataListDyesArrayList.add(dataListd3Dyes);
		dataListDyesArrayList.add(dataListd4Dyes);
		dataListDyesArrayList.add(dataListd5Dyes);
		dataListDyesArrayList.add(dataListd6Dyes);
		dataListDyesArrayList.add(dataListd7Dyes);
		dataListDyesArrayList.add(dataListd8Dyes);

		// bean=dataListArrayList。get（）32
		// for (ArrayList<LineDataSet> bean : dataListArrayList) {

		for (int x = 0; x < 32; x++) {

			ArrayList<LineDataSet> dataList = null;
			dataList = new ArrayList<LineDataSet>();
			String color = "";
			if (x <= 15) {
				color = dataSourceListBlock1.get(x).get("item_image")
						.toString();
			} else {
				color = dataSourceListBlock2.get(x - 16).get("item_image")
						.toString();
			}

			for (int j = 0; j < 4; j++) {
				ArrayList<Entry> yValueslog = new ArrayList<Entry>();

				for (int i = 0; i < repititionsNum; i++) {
					// bean.get(0).getYValForXIndex(i);
					// bean.get(j).getYValForXIndex(i);
					// yValueslog.clear();
					// bean.get(j).getYVals().get(i).getVal();
					try {
						yValueslog.add(new Entry((float) MathLog.log(
								dataListArrayList.get(x).get(j).getYVals()
										.get(i).getVal(), 10), i));
					} catch (Exception e) {
						// TODO: handle exception
						yValueslog.add(new Entry(0, 0));
					}

				}
				addLineChart(yValueslog, color, 1);
				// dataLista1.add(dataSet);
				dataList.add(dataSet);

			}
			dataListLogArrayList.add(dataList);

		}
		// sample
		for (int x = 0; x < 16; x++) {

			ArrayList<LineDataSet> dataList = null;
			dataList = new ArrayList<LineDataSet>();
			String color = "";
			if ("sample".equals(dataSourceListBlock1.get(x).get("item_type"))) {
				color = "#ff2d55";
			} else if ("standard".equals(dataSourceListBlock1.get(x).get(
					"item_type"))) {
				color = "#fd9727";
			} else if ("positive".equals(dataSourceListBlock1.get(x).get(
					"item_type"))) {
				color = "#ff00a9";
			} else if ("negative".equals(dataSourceListBlock1.get(x).get(
					"item_type"))) {
				color = "#159588";

			} else {
				color = "#ffffff";
			}

			for (int j = 0; j < 4; j++) {
				ArrayList<Entry> yValueslog = new ArrayList<Entry>();

				for (int i = 0; i < repititionsNum; i++) {
					// bean.get(0).getYValForXIndex(i);
					// bean.get(j).getYValForXIndex(i);
					// yValueslog.clear();
					// bean.get(j).getYVals().get(i).getVal();
					try {
						yValueslog.add(new Entry((float) MathLog.log(
								dataListArrayList.get(x).get(j).getYVals()
										.get(i).getVal(), 10), i));

					} catch (Exception e) {
						yValueslog.add(new Entry(0, 0));

					}

				}
				addLineChart(yValueslog, color, 2);
				// dataLista1.add(dataSet);
				dataList.add(dataSet);

			}
			dataListLogSampleArrayList.add(dataList);

		}
		for (int x = 0; x < 16; x++) {

			ArrayList<LineDataSet> dataList = null;
			dataList = new ArrayList<LineDataSet>();
			String color = "";
			if ("sample".equals(dataSourceListBlock2.get(x).get("item_type"))) {
				color = "#ff2d55";
			} else if ("standard".equals(dataSourceListBlock2.get(x).get(
					"item_type"))) {
				color = "#fd9727";
			} else if ("positive".equals(dataSourceListBlock2.get(x).get(
					"item_type"))) {
				color = "#ff00a9";
			} else if ("negative".equals(dataSourceListBlock2.get(x).get(
					"item_type"))) {
				color = "#159588";

			} else {
				color = "#ffffff";
			}

			for (int j = 0; j < 4; j++) {
				ArrayList<Entry> yValueslog = new ArrayList<Entry>();

				for (int i = 0; i < repititionsNum; i++) {
					// bean.get(0).getYValForXIndex(i);
					// bean.get(j).getYValForXIndex(i);
					// yValueslog.clear();
					// bean.get(j).getYVals().get(i).getVal();
					try {
						yValueslog.add(new Entry((float) MathLog.log(
								dataListArrayList.get(x).get(j).getYVals()
										.get(i).getVal(), 10), i));
					} catch (Exception e) {
						yValueslog.add(new Entry(0, 0));
					}

				}
				addLineChart(yValueslog, color, 2);
				// dataLista1.add(dataSet);
				dataList.add(dataSet);

			}
			dataListLogSampleArrayList.add(dataList);

		}
	}

	private void getSimpleLineChartView() {

		stepNum = Integer.parseInt(contextString.substring(
				contextString.indexOf(",readDataString: ") + 17,
				contextString.indexOf(",,Methods")).trim());

		hotLidTemperature = Double.parseDouble(contextString.substring(
				contextString.indexOf(",hotLidTemperature: ") + 20,
				contextString.indexOf(",sampleVolumeString")).trim());
		sampleVolumeString = Double.parseDouble(contextString.substring(
				contextString.indexOf(",sampleVolumeString: ") + 21,
				contextString.indexOf(",readDataString:")).trim());

		activityMethodBeans = new ArrayList<MethodBean>();

		int index = contextString.indexOf("Methods");
		// 上面解析
		while (!(contextString.indexOf("steptType:", index) <= 0)) {

			// steptType:
			String steptType;
			steptType = contextString.substring(
					contextString.indexOf("steptType:", index) + 10,

					contextString.indexOf(",temperature:", index));

			// LogUtil.e(steptType);

			// temperature
			String temperature;
			temperature = contextString.substring(
					contextString.indexOf(",temperature:", index) + 13,

					contextString.indexOf(",time:", index));

			// LogUtil.e(temperature);
			// time
			String time;
			time = contextString.substring(
					contextString.indexOf(",time:", index) + 6,

					contextString.indexOf(",goTo:", index));
			// LogUtil.e(time);

			// goTo
			String goTo;
			goTo = contextString.substring(
					contextString.indexOf(",goTo:", index) + 6,

					contextString.indexOf(",Repititions:", index));
			// LogUtil.e(goTo);
			// Repititions
			String repititions;
			repititions = contextString.substring(
					contextString.indexOf(",Repititions:", index) + 13,

					contextString.indexOf(",deltaT:", index));
			// LogUtil.e(repititions);
			// deltaT
			String deltaT;
			deltaT = contextString.substring(
					contextString.indexOf(",deltaT:", index) + 8,

					contextString.indexOf(",rightSelect:", index));
			// LogUtil.e(deltaT);

			int nextIndex = contextString.indexOf("steptType:", index) + 10;

			// rightSelect
			String rightSelect;

			if (contextString.indexOf(",steptType:", nextIndex) < 0) {
				rightSelect = contextString.substring(
						contextString.indexOf(",rightSelect:", index) + 13,
						contextString.indexOf(",,pointMap", index));
				if ("null".equals(rightSelect)) {
					rightSelect = "";
				}

			} else {
				rightSelect = contextString.substring(
						contextString.indexOf(",rightSelect:", index) + 13,

						contextString.indexOf(",steptType:", nextIndex));
				if ("null".equals(rightSelect)) {
					rightSelect = "";
				}
			}
			// LogUtil.e(rightSelect);
			index = contextString.indexOf(",rightSelect:", index) + 13;

			activityMethodBeans.add(new MethodBean(steptType.trim(),
					temperature.trim(), time.trim(), goTo.trim(), repititions
							.trim(), deltaT.trim()));

		}

		// 获取重复次数

		int stepNum = Integer.parseInt(contextString.substring(
				contextString.indexOf(",readDataString: ") + 17,
				contextString.indexOf(",,Methods")).trim());
		getRepititions(stepNum);

		// 下面解析
		int num = 1;
		pointMap = new HashMap<Integer, Integer>();
		if (contextString.indexOf(",,Channel1") > 0) {
			// 已经有实验数据的实验
			while (!(contextString.indexOf("pointMap", index) <= 0)) {

				int pointMapValue = 0;
				// int nextIndex = contextString.indexOf("pointMap", index);

				if (contextString.indexOf("pointMap" + num) < 0) {
					// pointMap = Integer
					// .parseInt(contextString.substring(contextString
					// .indexOf("pointMap"+num, index) + 10));

				} else {
					if (contextString.indexOf("pointMap" + (num + 1)) < 0) {
						// pointMap = Integer.parseInt(contextString
						// .substring(
						// contextString.indexOf("pointMap:" + num,
						// index) + 9).trim());
						if (num < 10) {
							pointMapValue = Integer
									.parseInt(contextString
											.substring(
													contextString
															.indexOf("pointMap"
																	+ num) + 11,
													contextString
															.indexOf(",,Raw Data"))
											.trim());
						} else {
							pointMapValue = Integer
									.parseInt(contextString
											.substring(
													contextString
															.indexOf("pointMap"
																	+ num) + 11,
													contextString
															.indexOf(",,Raw Data"))
											.trim());
						}

						LogUtil.e(pointMapValue);
						pointMap.put(num - 1, pointMapValue);
						break;

					} else {

						if (num < 10) {
							pointMapValue = Integer.parseInt(contextString
									.substring(
											contextString.indexOf("pointMap"
													+ num) + 10,
											contextString.indexOf(",pointMap"
													+ (num + 1))).trim());
						} else {
							pointMapValue = Integer.parseInt(contextString
									.substring(
											contextString.indexOf("pointMap"
													+ num) + 11,
											contextString.indexOf(",pointMap"
													+ (num + 1))).trim());
						}

					}

				}
				pointMap.put(num - 1, pointMapValue);
				num++;
				index = contextString.indexOf("pointMap", index);
				LogUtil.e(pointMapValue);

			}
		} else {
			while (!(contextString.indexOf("pointMap", index) <= 0)) {

				int pointMapValue = 0;
				// int nextIndex = contextString.indexOf("pointMap", index);

				if (contextString.indexOf("pointMap" + num) < 0) {
					// pointMap = Integer
					// .parseInt(contextString.substring(contextString
					// .indexOf("pointMap"+num, index) + 10));

				} else {
					if (contextString.indexOf("pointMap" + (num + 1)) < 0) {
						// pointMap = Integer.parseInt(contextString
						// .substring(
						// contextString.indexOf("pointMap:" + num,
						// index) + 9).trim());
						if (num < 10) {
							pointMapValue = Integer.parseInt(contextString
									.substring(
											contextString.indexOf("pointMap"
													+ num) + 10).trim());
						} else {
							pointMapValue = Integer
									.parseInt(contextString
											.substring(
													contextString
															.indexOf("pointMap"
																	+ num) + 11)
											.trim()
											.substring(
													0,
													contextString
															.substring(
																	contextString
																			.indexOf("pointMap"
																					+ num) + 11)
															.trim().length() - 1));
						}

						LogUtil.e(pointMapValue);
						pointMap.put(num - 1, pointMapValue);
						break;

					} else {

						if (num < 10) {
							pointMapValue = Integer.parseInt(contextString
									.substring(
											contextString.indexOf("pointMap"
													+ num) + 10,
											contextString.indexOf(",pointMap"
													+ (num + 1))).trim());
						} else {
							pointMapValue = Integer.parseInt(contextString
									.substring(
											contextString.indexOf("pointMap"
													+ num) + 11,
											contextString.indexOf(",pointMap"
													+ (num + 1))).trim());
						}

					}

				}
				pointMap.put(num - 1, pointMapValue);
				num++;
				index = contextString.indexOf("pointMap", index);
				LogUtil.e(pointMapValue);

			}
		}

	}

	private void getRepititions(int stepNum) {
		// 先找出拍照的位置
		int cameraStep = stepNum - 1;
		// for (MethodBean bean : activityMethodBeans) {
		// if (bean.getRightSelect()) {
		// break;
		// }
		// cameraStep++;
		// }
		ArrayList<ArrayList<Integer>> ranges = new ArrayList<ArrayList<Integer>>();
		ArrayList<Integer> littleRange;
		int startStep = 0;
		for (MethodBean bean : activityMethodBeans) {
			if (!TextUtils.isEmpty(bean.getGoTo())) {
				littleRange = new ArrayList<Integer>();
				littleRange.add(startStep);
				littleRange.add(Integer.parseInt(bean.getGoTo()) - 1);
				ranges.add(littleRange);
			}
			startStep++;
		}

		// 判断有没有跳转
		if (ranges.size() == 0) {
			repititionsNum = 1;
			return;
		} else {
			int sum = 1;
			for (ArrayList<Integer> little : ranges) {
				if (cameraStep <= little.get(0)) {
					if (cameraStep >= little.get(1)) {
						sum = sum
								* Integer.parseInt(activityMethodBeans.get(
										little.get(0)).getRepititions());
					}
				}
			}
			repititionsNum = sum;
			return;
		}

	}

	private void getLayutOne() {
		activityLayoutTableBeans = new ArrayList<LayoutTableBean>();

		// LogUtil.e(contextString.indexOf(",Aisle") + 7);
		// LogUtil.e(contextString.indexOf(",Color"));

		int index = 0;
		while (!(contextString.indexOf("Aisle", index) <= 0)) {

			// Aisle:
			String aisle;
			aisle = contextString.substring(
					contextString.indexOf(",Aisle", index) + 7,

					contextString.indexOf(",Color", index));
			// LogUtil.e(aisle);

			// Color
			String color;
			color = contextString.substring(
					contextString.indexOf(",Color", index) + 7,

					contextString.indexOf(",Target", index));
			// LogUtil.e(color);

			// Target
			String target;
			target = contextString.substring(
					contextString.indexOf(",Target", index) + 8,

					contextString.indexOf(",Dyes", index));

			// LogUtil.e(target);

			int nextIndex = contextString.indexOf(",Aisle", index) + 7;

			// Dyes
			String dyes;
			if (contextString.indexOf(",Aisle", nextIndex) < 0) {

				dyes = contextString.substring(
						contextString.indexOf(",Dyes", index) + 6,
						contextString.indexOf(",,dataSourceListBlock1", index));

				// LogUtil.e(dyes);
			} else {

				dyes = contextString.substring(
						contextString.indexOf(",Dyes", index) + 6,

						contextString.indexOf(",Aisle", nextIndex));
				// LogUtil.e(dyes);
			}

			index = contextString.indexOf(",Dyes", index) + 5;

			activityLayoutTableBeans.add(new LayoutTableBean(false, Integer
					.parseInt(aisle.trim()), Integer.parseInt(color.trim()),
					target, dyes));

		}

	}

	public void getGoalString(String folderName, String fileName) {
		System.gc();
		String appFilePath = Environment.getExternalStorageDirectory() + "/"
				+ "AllShengMedical";

		String path = appFilePath + "/" + folderName;
		File file = new File(path + "/" + fileName);

		FileInputStream in = null;
		BufferedReader reader = null;
		contextString = new StringBuffer();
		try {
			in = new FileInputStream(file);
			reader = new BufferedReader(new InputStreamReader(in));
			String line = "";
			while ((line = reader.readLine()) != null) {
				contextString.append(line);
				contextString.append(",");
			}
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} finally {
			if (reader != null) {
				try {
					reader.close();
				} catch (Exception e2) {
					e2.printStackTrace();
				}
			}
		}
		// BufferedReader reader = null;
		// contextString=new StringBuffer();
		// System.gc();
		// try {
		// System.out.println("以行为单位读取文件内容，一次读一整行:");
		// reader = new BufferedReader(new FileReader(file));
		// String tempString = null;
		// int line = 1;
		// // 一次读入一行，直到读入null为文件结束
		// while ((tempString = reader.readLine()) != null) {
		// // 显示行号
		// // System.out.println("line " + line + ": " + tempString);
		// // Log.e("--", tempString);
		// contextString.append(tempString);
		// contextString.append(",");
		//
		// line++;
		// }
		// reader.close();
		// } catch (IOException e) {
		// e.printStackTrace();
		// } finally {
		// if (reader != null) {
		// try {
		// reader.close();
		// // LogUtil.e("!!", contextString + "");
		//
		// } catch (IOException e1) {
		// }
		// }
		// }

		passReference = contextString.substring(
				contextString.indexOf("PassReference:") + 14,
				contextString.indexOf(",,Aisle:"));
		if (!TextUtils.isEmpty(passReference)) {
			// 如果不为空
			// data_list.add("FAM");
			// data_list.add("SYBR Green I");
			// data_list.add("ROX");
			// data_list.add("TEXAS-RED");
			// data_list.add("HEX");
			// data_list.add("JOE");
			// data_list.add("CY3");
			// data_list.add("TET");
			// data_list.add("CY5");
			if (passReference.equals("FAM")) {
				passReferenceNum = "1";
			} else if (passReference.equals("SYBR Green I")) {
				passReferenceNum = "1";
			} else if (passReference.equals("ROX")) {
				passReferenceNum = "3";
			} else if (passReference.equals("TEXAS-RED")) {
				passReferenceNum = "3";
			} else if (passReference.equals("HEX")) {
				passReferenceNum = "2";
			} else if (passReference.equals("JOE")) {
				passReferenceNum = "2";
			} else if (passReference.equals("CY3")) {
				passReferenceNum = "2";
			} else if (passReference.equals("TET")) {
				passReferenceNum = "2";
			} else if (passReference.equals("CY5")) {
				passReferenceNum = "4";
			}

		}

	}

	public void getBaseInformation() {
		experimentName = contextString.substring(
				contextString.indexOf("ExperimentName:") + 15,
				contextString.indexOf(",ExperimentID:"));

		experimentNum = contextString.substring(
				contextString.indexOf("ExperimentID:") + 13,

				contextString.indexOf(",Experimenter:"));

		experimenter = contextString.substring(
				contextString.indexOf("Experimenter:") + 13,

				contextString.indexOf(",ExperimentType:"));

		experimentType = contextString.substring(
				contextString.indexOf("ExperimentType:") + 15,

				contextString.indexOf(",SampleType:"));

		sampleType = contextString.substring(
				contextString.indexOf("SampleType:") + 11,

				contextString.indexOf(",Reagent:"));

		reagent = contextString.substring(
				contextString.indexOf("Reagent:") + 8,

				contextString.indexOf(",,"));

	}

	private void getGenen() {
		int index = 0;

		for (int i = 0; i < 16; i++) {
			HashMap<String, Object> hashMap = new HashMap<String, Object>();
			String item_image = contextString.substring(
					contextString.indexOf("item_image:", index) + 11,
					contextString.indexOf(",item_text:", index)).trim();
			String item_text = contextString.substring(
					contextString.indexOf("item_text:", index) + 10,
					contextString.indexOf(",item_selected:", index)).trim();
			Boolean item_selected = Boolean.getBoolean(contextString.substring(
					contextString.indexOf("item_selected:", index) + 14,
					contextString.indexOf(",item_null:", index)));

			boolean item_null = false;
			if ("null".equals(contextString.substring(
					contextString.indexOf("item_null:", index) + 10,
					contextString.indexOf(",item_aisle:", index)))) {
				item_null = true;
				hashMap.put("item_null", item_null);
			} else {
				item_null = false;
				hashMap.put("item_null", item_null);
			}
			// = contextString.substring(
			// contextString.indexOf("item_null:", index) + 10,
			// contextString.indexOf(",item_aisle:", index));
			int item_aisle = 0;
			if ("null".equals(contextString.substring(
					contextString.indexOf("item_aisle:", index) + 11,
					contextString.indexOf(",item_type:", index)).trim())) {

			} else {
				item_aisle = Integer.parseInt(contextString.substring(
						contextString.indexOf("item_aisle:", index) + 11,
						contextString.indexOf(",item_type:", index)).trim());
			}

			// String item_type = contextString.substring(
			// contextString.indexOf("item_type:", index) + 11,
			// contextString.indexOf("item_type:", index));

			int nextIndex = contextString.indexOf("item_image:", index) + 11;

			String item_type = "";
			if (i == 15) {
				item_type = contextString.substring(
						contextString.indexOf("item_type:", index) + 10,
						contextString.indexOf(",,dataSourceListBlock2", index))
						.trim();

			} else {
				item_type = contextString.substring(
						contextString.indexOf("item_type:", index) + 10,
						contextString.indexOf(",item_image:", nextIndex))
						.trim();
			}

			LogUtil.e(item_image);
			LogUtil.e(item_text);
			LogUtil.e(item_selected);
			// LogUtil.e(item_null+"");
			// LogUtil.e(item_aisle+"");
			LogUtil.e(item_type);

			hashMap.put("item_image", item_image);
			hashMap.put("item_text", item_text);
			hashMap.put("item_selected", item_selected);

			hashMap.put("item_aisle", item_aisle);
			hashMap.put("item_type", item_type);

			dataSourceListBlock1.add(hashMap);
			index = contextString.indexOf("item_type:", index) + 10;
		}

		for (int i = 0; i < 16; i++) {
			HashMap<String, Object> hashMap = new HashMap<String, Object>();
			String item_image = contextString.substring(
					contextString.indexOf("item_image:", index) + 11,
					contextString.indexOf(",item_text:", index)).trim();
			String item_text = contextString.substring(
					contextString.indexOf("item_text:", index) + 10,
					contextString.indexOf(",item_selected:", index)).trim();
			Boolean item_selected = Boolean.getBoolean(contextString.substring(
					contextString.indexOf("item_selected:", index) + 14,
					contextString.indexOf(",item_null:", index)));

			boolean item_null = false;
			if ("null".equals(contextString.substring(
					contextString.indexOf("item_null:", index) + 10,
					contextString.indexOf(",item_aisle:", index)))) {
				item_null = true;
				hashMap.put("item_null", item_null);
			} else {
				item_null = false;
				hashMap.put("item_null", item_null);
			}
			// = contextString.substring(
			// contextString.indexOf("item_null:", index) + 10,
			// contextString.indexOf(",item_aisle:", index));
			int item_aisle = 0;
			if ("null".equals(contextString.substring(
					contextString.indexOf("item_aisle:", index) + 11,
					contextString.indexOf(",item_type:", index)).trim())) {

			} else {
				item_aisle = Integer.parseInt(contextString.substring(
						contextString.indexOf("item_aisle:", index) + 11,
						contextString.indexOf(",item_type:", index)).trim());
			}

			// String item_type = contextString.substring(
			// contextString.indexOf("item_type:", index) + 11,
			// contextString.indexOf("item_type:", index));

			int nextIndex = contextString.indexOf("item_image:", index) + 11;

			String item_type = "";
			if (contextString.indexOf("item_image:", nextIndex) < 0) {
				item_type = contextString.substring(
						contextString.indexOf("item_type:", index) + 10,
						contextString.indexOf(",,Methods", index)).trim();
				LogUtil.e(item_type);

			} else {
				item_type = contextString.substring(
						contextString.indexOf("item_type:", index) + 10,
						contextString.indexOf(",item_image:", nextIndex))
						.trim();
			}

			LogUtil.e(item_image);
			LogUtil.e(item_text);
			LogUtil.e(item_selected);
			// LogUtil.e(item_null+"");
			// LogUtil.e(item_aisle+"");
			LogUtil.e(item_type);

			hashMap.put("item_image", item_image);
			hashMap.put("item_text", item_text);
			hashMap.put("item_selected", item_selected);

			hashMap.put("item_aisle", item_aisle);
			hashMap.put("item_type", item_type);

			dataSourceListBlock2.add(hashMap);
			index = contextString.indexOf("item_type:", index) + 10;
		}

	}

	private void addLineChart(ArrayList<Entry> yValues, String colorString,
			int type) {
		dataSet = new LineDataSet(yValues, "");
		// dataSet.setLineWidth(0);
		if (type == 1) {
			if (TextUtils.isEmpty(colorString)) {
				dataSet.setColor(Color.WHITE);
			} else {
				getcolor(colorString);
			}
		} else if (type == 2) {
			if (TextUtils.isEmpty(colorString)) {
				dataSet.setColor(Color.WHITE);
			} else {
				dataSet.setColor(Color.parseColor(colorString));
			}
		}

		dataSet.setCircleSize(0);
		dataSet.setValueTextSize(0);
		dataSet.setLineWidth(1f);
		// dataSet.setDrawCircleHole(false);
		// dataSet.setDrawFilled(false);

	}

	private void getcolor(String colorString) {

		if (Integer.parseInt(colorString.trim()) == 11) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_one_one));
		} else if (Integer.parseInt(colorString.trim()) == 12) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_one_two));

		} else if (Integer.parseInt(colorString.trim()) == 13) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_one_three));
		} else if (Integer.parseInt(colorString.trim()) == 14) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_one_four));
		} else if (Integer.parseInt(colorString.trim()) == 15) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_one_five));
		} else if (Integer.parseInt(colorString.trim()) == 16) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_one_six));
		} else if (Integer.parseInt(colorString.trim()) == 21) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_two_one));
		} else if (Integer.parseInt(colorString.trim()) == 22) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_two_two));
		} else if (Integer.parseInt(colorString.trim()) == 23) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_two_three));
		} else if (Integer.parseInt(colorString.trim()) == 24) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_two_four));
		} else if (Integer.parseInt(colorString.trim()) == 25) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_two_five));
		} else if (Integer.parseInt(colorString.trim()) == 26) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_two_six));
		} else if (Integer.parseInt(colorString.trim()) == 31) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_three_one));
		} else if (Integer.parseInt(colorString.trim()) == 32) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_three_two));
		} else if (Integer.parseInt(colorString.trim()) == 33) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_three_three));
		} else if (Integer.parseInt(colorString.trim()) == 34) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_three_four));
		} else if (Integer.parseInt(colorString.trim()) == 35) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_three_five));
		} else if (Integer.parseInt(colorString.trim()) == 36) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_three_six));
		} else if (Integer.parseInt(colorString.trim()) == 41) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_four_one));
		} else if (Integer.parseInt(colorString.trim()) == 42) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_four_two));
		} else if (Integer.parseInt(colorString.trim()) == 43) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_four_three));
		} else if (Integer.parseInt(colorString.trim()) == 44) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_four_four));
		} else if (Integer.parseInt(colorString.trim()) == 45) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_four_five));
		} else if (Integer.parseInt(colorString.trim()) == 46) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_four_six));
		} else if (Integer.parseInt(colorString.trim()) == 51) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_five_one));
		} else if (Integer.parseInt(colorString.trim()) == 52) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_five_two));
		} else if (Integer.parseInt(colorString.trim()) == 53) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_five_three));
		} else if (Integer.parseInt(colorString.trim()) == 54) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_five_four));
		} else if (Integer.parseInt(colorString.trim()) == 55) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_five_five));
		} else if (Integer.parseInt(colorString.trim()) == 56) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_five_six));
		} else if (Integer.parseInt(colorString.trim()) == 61) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_six_one));
		} else if (Integer.parseInt(colorString.trim()) == 62) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_six_two));
		} else if (Integer.parseInt(colorString.trim()) == 63) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_six_three));
		} else if (Integer.parseInt(colorString.trim()) == 64) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_six_four));
		} else if (Integer.parseInt(colorString.trim()) == 65) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_six_five));
		} else if (Integer.parseInt(colorString.trim()) == 66) {
			dataSet.setColor(BaseApplication.getContext().getResources()
					.getColor(R.color.palette_six_six));
		} else {
		}

	}

	public String getFolderName() {
		return folderName;
	}

	public String getFileName() {
		return fileName;
	}

	public StringBuffer getContextString() {
		return contextString;
	}

	public String getExperimentName() {
		return experimentName;
	}

	public String getExperimentNum() {
		return experimentNum;
	}

	public String getExperimenter() {
		return experimenter;
	}

	public String getExperimentType() {
		return experimentType;
	}

	public String getSampleType() {
		return sampleType;
	}

	public String getReagent() {
		return reagent;
	}

	public ArrayList<LayoutTableBean> getActivityLayoutTableBeans() {
		return activityLayoutTableBeans;
	}

	public List<HashMap<String, Object>> getDataSourceListBlock1() {
		return dataSourceListBlock1;
	}

	public List<HashMap<String, Object>> getDataSourceListBlock2() {
		return dataSourceListBlock2;
	}

	public ArrayList<MethodBean> getActivityMethodBeans() {
		return activityMethodBeans;
	}

	public HashMap<Integer, Integer> getPointMap() {
		return pointMap;
	}

	public List<HashMap<String, Object>> getPointMaps() {
		return pointMaps;
	}

	public String[] getxItem() {
		return xItem;
	}

	public String[] getyItem() {
		return yItem;
	}

	public int getStepNum() {
		return stepNum;
	}

	public Double getHotLidTemperature() {
		return hotLidTemperature;
	}

	public Double getSampleVolumeString() {
		return sampleVolumeString;
	}

	public ArrayList<String> getxValues() {
		return xValues;
	}

	public ArrayList<LineDataSet> getDataSets() {
		return dataSets;
	}

	public LineDataSet getDataSet() {
		return dataSet;
	}

	public LineDataSet getBaseLineDataSet() {
		return baseLineDataSet;
	}

	public ArrayList<LineDataSet> getDataLista1() {
		return dataLista1;
	}

	public ArrayList<LineDataSet> getDataLista2() {
		return dataLista2;
	}

	public ArrayList<LineDataSet> getDataLista3() {
		return dataLista3;
	}

	public ArrayList<LineDataSet> getDataLista4() {
		return dataLista4;
	}

	public ArrayList<LineDataSet> getDataLista5() {
		return dataLista5;
	}

	public ArrayList<LineDataSet> getDataLista6() {
		return dataLista6;
	}

	public ArrayList<LineDataSet> getDataLista7() {
		return dataLista7;
	}

	public ArrayList<LineDataSet> getDataLista8() {
		return dataLista8;
	}

	public ArrayList<LineDataSet> getDataListb1() {
		return dataListb1;
	}

	public ArrayList<LineDataSet> getDataListb2() {
		return dataListb2;
	}

	public ArrayList<LineDataSet> getDataListb3() {
		return dataListb3;
	}

	public ArrayList<LineDataSet> getDataListb4() {
		return dataListb4;
	}

	public ArrayList<LineDataSet> getDataListb5() {
		return dataListb5;
	}

	public ArrayList<LineDataSet> getDataListb6() {
		return dataListb6;
	}

	public ArrayList<LineDataSet> getDataListb7() {
		return dataListb7;
	}

	public ArrayList<LineDataSet> getDataListb8() {
		return dataListb8;
	}

	public ArrayList<LineDataSet> getDataListc1() {
		return dataListc1;
	}

	public ArrayList<LineDataSet> getDataListc2() {
		return dataListc2;
	}

	public ArrayList<LineDataSet> getDataListc3() {
		return dataListc3;
	}

	public ArrayList<LineDataSet> getDataListc4() {
		return dataListc4;
	}

	public ArrayList<LineDataSet> getDataListc5() {
		return dataListc5;
	}

	public ArrayList<LineDataSet> getDataListc6() {
		return dataListc6;
	}

	public ArrayList<LineDataSet> getDataListc7() {
		return dataListc7;
	}

	public ArrayList<LineDataSet> getDataListc8() {
		return dataListc8;
	}

	public ArrayList<LineDataSet> getDataListd1() {
		return dataListd1;
	}

	public ArrayList<LineDataSet> getDataListd2() {
		return dataListd2;
	}

	public ArrayList<LineDataSet> getDataListd3() {
		return dataListd3;
	}

	public ArrayList<LineDataSet> getDataListd4() {
		return dataListd4;
	}

	public ArrayList<LineDataSet> getDataListd5() {
		return dataListd5;
	}

	public ArrayList<LineDataSet> getDataListd6() {
		return dataListd6;
	}

	public ArrayList<LineDataSet> getDataListd7() {
		return dataListd7;
	}

	public ArrayList<LineDataSet> getDataListd8() {
		return dataListd8;
	}

	public ArrayList<LineDataSet> getDataLista1Sample() {
		return dataLista1Sample;
	}

	public ArrayList<LineDataSet> getDataLista2Sample() {
		return dataLista2Sample;
	}

	public ArrayList<LineDataSet> getDataLista3Sample() {
		return dataLista3Sample;
	}

	public ArrayList<LineDataSet> getDataLista4Sample() {
		return dataLista4Sample;
	}

	public ArrayList<LineDataSet> getDataLista5Sample() {
		return dataLista5Sample;
	}

	public ArrayList<LineDataSet> getDataLista6Sample() {
		return dataLista6Sample;
	}

	public ArrayList<LineDataSet> getDataLista7Sample() {
		return dataLista7Sample;
	}

	public ArrayList<LineDataSet> getDataLista8Sample() {
		return dataLista8Sample;
	}

	public ArrayList<LineDataSet> getDataListb1Sample() {
		return dataListb1Sample;
	}

	public ArrayList<LineDataSet> getDataListb2Sample() {
		return dataListb2Sample;
	}

	public ArrayList<LineDataSet> getDataListb3Sample() {
		return dataListb3Sample;
	}

	public ArrayList<LineDataSet> getDataListb4Sample() {
		return dataListb4Sample;
	}

	public ArrayList<LineDataSet> getDataListb5Sample() {
		return dataListb5Sample;
	}

	public ArrayList<LineDataSet> getDataListb6Sample() {
		return dataListb6Sample;
	}

	public ArrayList<LineDataSet> getDataListb7Sample() {
		return dataListb7Sample;
	}

	public ArrayList<LineDataSet> getDataListb8Sample() {
		return dataListb8Sample;
	}

	public ArrayList<LineDataSet> getDataListc1Sample() {
		return dataListc1Sample;
	}

	public ArrayList<LineDataSet> getDataListc2Sample() {
		return dataListc2Sample;
	}

	public ArrayList<LineDataSet> getDataListc3Sample() {
		return dataListc3Sample;
	}

	public ArrayList<LineDataSet> getDataListc4Sample() {
		return dataListc4Sample;
	}

	public ArrayList<LineDataSet> getDataListc5Sample() {
		return dataListc5Sample;
	}

	public ArrayList<LineDataSet> getDataListc6Sample() {
		return dataListc6Sample;
	}

	public ArrayList<LineDataSet> getDataListc7Sample() {
		return dataListc7Sample;
	}

	public ArrayList<LineDataSet> getDataListc8Sample() {
		return dataListc8Sample;
	}

	public ArrayList<LineDataSet> getDataListd1Sample() {
		return dataListd1Sample;
	}

	public ArrayList<LineDataSet> getDataListd2Sample() {
		return dataListd2Sample;
	}

	public ArrayList<LineDataSet> getDataListd3Sample() {
		return dataListd3Sample;
	}

	public ArrayList<LineDataSet> getDataListd4Sample() {
		return dataListd4Sample;
	}

	public ArrayList<LineDataSet> getDataListd5Sample() {
		return dataListd5Sample;
	}

	public ArrayList<LineDataSet> getDataListd6Sample() {
		return dataListd6Sample;
	}

	public ArrayList<LineDataSet> getDataListd7Sample() {
		return dataListd7Sample;
	}

	public ArrayList<LineDataSet> getDataListd8Sample() {
		return dataListd8Sample;
	}

	public ArrayList<ArrayList<LineDataSet>> getDataListArrayList() {
		return dataListArrayList;
	}

	public ArrayList<ArrayList<LineDataSet>> getDataListLogArrayList() {
		return dataListLogArrayList;
	}

	public ArrayList<ArrayList<LineDataSet>> getDataListSampleArrayList() {
		return dataListSampleArrayList;
	}

	public ArrayList<ArrayList<LineDataSet>> getDataListLogSampleArrayList() {
		return dataListLogSampleArrayList;
	}

	public ArrayList<LineDataSet> getDataLista1Dyes() {
		return dataLista1Dyes;
	}

	public ArrayList<LineDataSet> getDataLista2Dyes() {
		return dataLista2Dyes;
	}

	public ArrayList<LineDataSet> getDataLista3Dyes() {
		return dataLista3Dyes;
	}

	public ArrayList<LineDataSet> getDataLista4Dyes() {
		return dataLista4Dyes;
	}

	public ArrayList<LineDataSet> getDataLista5Dyes() {
		return dataLista5Dyes;
	}

	public ArrayList<LineDataSet> getDataLista6Dyes() {
		return dataLista6Dyes;
	}

	public ArrayList<LineDataSet> getDataLista7Dyes() {
		return dataLista7Dyes;
	}

	public ArrayList<LineDataSet> getDataLista8Dyes() {
		return dataLista8Dyes;
	}

	public ArrayList<LineDataSet> getDataListb1Dyes() {
		return dataListb1Dyes;
	}

	public ArrayList<LineDataSet> getDataListb2Dyes() {
		return dataListb2Dyes;
	}

	public ArrayList<LineDataSet> getDataListb3Dyes() {
		return dataListb3Dyes;
	}

	public ArrayList<LineDataSet> getDataListb4Dyes() {
		return dataListb4Dyes;
	}

	public ArrayList<LineDataSet> getDataListb5Dyes() {
		return dataListb5Dyes;
	}

	public ArrayList<LineDataSet> getDataListb6Dyes() {
		return dataListb6Dyes;
	}

	public ArrayList<LineDataSet> getDataListb7Dyes() {
		return dataListb7Dyes;
	}

	public ArrayList<LineDataSet> getDataListb8Dyes() {
		return dataListb8Dyes;
	}

	public ArrayList<LineDataSet> getDataListc1Dyes() {
		return dataListc1Dyes;
	}

	public ArrayList<LineDataSet> getDataListc2Dyes() {
		return dataListc2Dyes;
	}

	public ArrayList<LineDataSet> getDataListc3Dyes() {
		return dataListc3Dyes;
	}

	public ArrayList<LineDataSet> getDataListc4Dyes() {
		return dataListc4Dyes;
	}

	public ArrayList<LineDataSet> getDataListc5Dyes() {
		return dataListc5Dyes;
	}

	public ArrayList<LineDataSet> getDataListc6Dyes() {
		return dataListc6Dyes;
	}

	public ArrayList<LineDataSet> getDataListc7Dyes() {
		return dataListc7Dyes;
	}

	public ArrayList<LineDataSet> getDataListc8Dyes() {
		return dataListc8Dyes;
	}

	public ArrayList<LineDataSet> getDataListd1Dyes() {
		return dataListd1Dyes;
	}

	public ArrayList<LineDataSet> getDataListd2Dyes() {
		return dataListd2Dyes;
	}

	public ArrayList<LineDataSet> getDataListd3Dyes() {
		return dataListd3Dyes;
	}

	public ArrayList<LineDataSet> getDataListd4Dyes() {
		return dataListd4Dyes;
	}

	public ArrayList<LineDataSet> getDataListd5Dyes() {
		return dataListd5Dyes;
	}

	public ArrayList<LineDataSet> getDataListd6Dyes() {
		return dataListd6Dyes;
	}

	public ArrayList<LineDataSet> getDataListd7Dyes() {
		return dataListd7Dyes;
	}

	public ArrayList<LineDataSet> getDataListd8Dyes() {
		return dataListd8Dyes;
	}

	public ArrayList<ArrayList<LineDataSet>> getDataListDyesArrayList() {
		return dataListDyesArrayList;
	}

	public Float getProgressTemperature() {
		return progressTemperature;
	}

	public Float getEndTemperature() {
		return endTemperature;
	}

	public Float getStartTemperature() {
		return startTemperature;
	}

	public ArrayList<LineDataSet> getDataListMeltCurvea1() {
		return dataListMeltCurvea1;
	}

	public ArrayList<LineDataSet> getDataListMeltCurvea2() {
		return dataListMeltCurvea2;
	}

	public ArrayList<LineDataSet> getDataListMeltCurvea3() {
		return dataListMeltCurvea3;
	}

	public ArrayList<LineDataSet> getDataListMeltCurvea4() {
		return dataListMeltCurvea4;
	}

	public ArrayList<LineDataSet> getDataListMeltCurvea5() {
		return dataListMeltCurvea5;
	}

	public ArrayList<LineDataSet> getDataListMeltCurvea6() {
		return dataListMeltCurvea6;
	}

	public ArrayList<LineDataSet> getDataListMeltCurvea7() {
		return dataListMeltCurvea7;
	}

	public ArrayList<LineDataSet> getDataListMeltCurvea8() {
		return dataListMeltCurvea8;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveb1() {
		return dataListMeltCurveb1;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveb2() {
		return dataListMeltCurveb2;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveb3() {
		return dataListMeltCurveb3;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveb4() {
		return dataListMeltCurveb4;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveb5() {
		return dataListMeltCurveb5;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveb6() {
		return dataListMeltCurveb6;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveb7() {
		return dataListMeltCurveb7;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveb8() {
		return dataListMeltCurveb8;
	}

	public ArrayList<LineDataSet> getDataListMeltCurvec1() {
		return dataListMeltCurvec1;
	}

	public ArrayList<LineDataSet> getDataListMeltCurvec2() {
		return dataListMeltCurvec2;
	}

	public ArrayList<LineDataSet> getDataListMeltCurvec3() {
		return dataListMeltCurvec3;
	}

	public ArrayList<LineDataSet> getDataListMeltCurvec4() {
		return dataListMeltCurvec4;
	}

	public ArrayList<LineDataSet> getDataListMeltCurvec5() {
		return dataListMeltCurvec5;
	}

	public ArrayList<LineDataSet> getDataListMeltCurvec6() {
		return dataListMeltCurvec6;
	}

	public ArrayList<LineDataSet> getDataListMeltCurvec7() {
		return dataListMeltCurvec7;
	}

	public ArrayList<LineDataSet> getDataListMeltCurvec8() {
		return dataListMeltCurvec8;
	}

	public ArrayList<LineDataSet> getDataListMeltCurved1() {
		return dataListMeltCurved1;
	}

	public ArrayList<LineDataSet> getDataListMeltCurved2() {
		return dataListMeltCurved2;
	}

	public ArrayList<LineDataSet> getDataListMeltCurved3() {
		return dataListMeltCurved3;
	}

	public ArrayList<LineDataSet> getDataListMeltCurved4() {
		return dataListMeltCurved4;
	}

	public ArrayList<LineDataSet> getDataListMeltCurved5() {
		return dataListMeltCurved5;
	}

	public ArrayList<LineDataSet> getDataListMeltCurved6() {
		return dataListMeltCurved6;
	}

	public ArrayList<LineDataSet> getDataListMeltCurved7() {
		return dataListMeltCurved7;
	}

	public ArrayList<LineDataSet> getDataListMeltCurved8() {
		return dataListMeltCurved8;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeria1() {
		return dataListMeltCurveDeria1;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeria2() {
		return dataListMeltCurveDeria2;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeria3() {
		return dataListMeltCurveDeria3;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeria4() {
		return dataListMeltCurveDeria4;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeria5() {
		return dataListMeltCurveDeria5;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeria6() {
		return dataListMeltCurveDeria6;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeria7() {
		return dataListMeltCurveDeria7;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeria8() {
		return dataListMeltCurveDeria8;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDerib1() {
		return dataListMeltCurveDerib1;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDerib2() {
		return dataListMeltCurveDerib2;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDerib3() {
		return dataListMeltCurveDerib3;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDerib4() {
		return dataListMeltCurveDerib4;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDerib5() {
		return dataListMeltCurveDerib5;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDerib6() {
		return dataListMeltCurveDerib6;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDerib7() {
		return dataListMeltCurveDerib7;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDerib8() {
		return dataListMeltCurveDerib8;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeric1() {
		return dataListMeltCurveDeric1;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeric2() {
		return dataListMeltCurveDeric2;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeric3() {
		return dataListMeltCurveDeric3;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeric4() {
		return dataListMeltCurveDeric4;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeric5() {
		return dataListMeltCurveDeric5;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeric6() {
		return dataListMeltCurveDeric6;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeric7() {
		return dataListMeltCurveDeric7;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeric8() {
		return dataListMeltCurveDeric8;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDerid1() {
		return dataListMeltCurveDerid1;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDerid2() {
		return dataListMeltCurveDerid2;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDerid3() {
		return dataListMeltCurveDerid3;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDerid4() {
		return dataListMeltCurveDerid4;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDerid5() {
		return dataListMeltCurveDerid5;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDerid6() {
		return dataListMeltCurveDerid6;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDerid7() {
		return dataListMeltCurveDerid7;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDerid8() {
		return dataListMeltCurveDerid8;
	}

	public ArrayList<ArrayList<LineDataSet>> getDataListMeltCurveArrayList() {
		return dataListMeltCurveArrayList;
	}

	public ArrayList<ArrayList<LineDataSet>> getDataListMeltCurveDeriArrayList() {
		return dataListMeltCurveDeriArrayList;
	}

	public ArrayList<ArrayList<LineDataSet>> getDataListMeltCurveSampleArrayList() {
		return dataListMeltCurveSampleArrayList;
	}

	public ArrayList<ArrayList<LineDataSet>> getDataListMeltCurveDeriSampleArrayList() {
		return dataListMeltCurveDeriSampleArrayList;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSamplea1() {
		return dataListMeltCurveSamplea1;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSamplea2() {
		return dataListMeltCurveSamplea2;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSamplea3() {
		return dataListMeltCurveSamplea3;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSamplea4() {
		return dataListMeltCurveSamplea4;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSamplea5() {
		return dataListMeltCurveSamplea5;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSamplea6() {
		return dataListMeltCurveSamplea6;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSamplea7() {
		return dataListMeltCurveSamplea7;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSamplea8() {
		return dataListMeltCurveSamplea8;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSampleb1() {
		return dataListMeltCurveSampleb1;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSampleb2() {
		return dataListMeltCurveSampleb2;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSampleb3() {
		return dataListMeltCurveSampleb3;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSampleb4() {
		return dataListMeltCurveSampleb4;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSampleb5() {
		return dataListMeltCurveSampleb5;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSampleb6() {
		return dataListMeltCurveSampleb6;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSampleb7() {
		return dataListMeltCurveSampleb7;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSampleb8() {
		return dataListMeltCurveSampleb8;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSamplec1() {
		return dataListMeltCurveSamplec1;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSamplec2() {
		return dataListMeltCurveSamplec2;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSamplec3() {
		return dataListMeltCurveSamplec3;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSamplec4() {
		return dataListMeltCurveSamplec4;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSamplec5() {
		return dataListMeltCurveSamplec5;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSamplec6() {
		return dataListMeltCurveSamplec6;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSamplec7() {
		return dataListMeltCurveSamplec7;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSamplec8() {
		return dataListMeltCurveSamplec8;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSampled1() {
		return dataListMeltCurveSampled1;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSampled2() {
		return dataListMeltCurveSampled2;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSampled3() {
		return dataListMeltCurveSampled3;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSampled4() {
		return dataListMeltCurveSampled4;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSampled5() {
		return dataListMeltCurveSampled5;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSampled6() {
		return dataListMeltCurveSampled6;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSampled7() {
		return dataListMeltCurveSampled7;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveSampled8() {
		return dataListMeltCurveSampled8;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSamplea1() {
		return dataListMeltCurveDeriSamplea1;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSamplea2() {
		return dataListMeltCurveDeriSamplea2;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSamplea3() {
		return dataListMeltCurveDeriSamplea3;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSamplea4() {
		return dataListMeltCurveDeriSamplea4;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSamplea5() {
		return dataListMeltCurveDeriSamplea5;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSamplea6() {
		return dataListMeltCurveDeriSamplea6;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSamplea7() {
		return dataListMeltCurveDeriSamplea7;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSamplea8() {
		return dataListMeltCurveDeriSamplea8;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSampleb1() {
		return dataListMeltCurveDeriSampleb1;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSampleb2() {
		return dataListMeltCurveDeriSampleb2;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSampleb3() {
		return dataListMeltCurveDeriSampleb3;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSampleb4() {
		return dataListMeltCurveDeriSampleb4;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSampleb5() {
		return dataListMeltCurveDeriSampleb5;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSampleb6() {
		return dataListMeltCurveDeriSampleb6;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSampleb7() {
		return dataListMeltCurveDeriSampleb7;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSampleb8() {
		return dataListMeltCurveDeriSampleb8;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSamplec1() {
		return dataListMeltCurveDeriSamplec1;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSamplec2() {
		return dataListMeltCurveDeriSamplec2;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSamplec3() {
		return dataListMeltCurveDeriSamplec3;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSamplec4() {
		return dataListMeltCurveDeriSamplec4;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSamplec5() {
		return dataListMeltCurveDeriSamplec5;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSamplec6() {
		return dataListMeltCurveDeriSamplec6;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSamplec7() {
		return dataListMeltCurveDeriSamplec7;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSamplec8() {
		return dataListMeltCurveDeriSamplec8;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSampled1() {
		return dataListMeltCurveDeriSampled1;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSampled2() {
		return dataListMeltCurveDeriSampled2;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSampled3() {
		return dataListMeltCurveDeriSampled3;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSampled4() {
		return dataListMeltCurveDeriSampled4;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSampled5() {
		return dataListMeltCurveDeriSampled5;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSampled6() {
		return dataListMeltCurveDeriSampled6;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSampled7() {
		return dataListMeltCurveDeriSampled7;
	}

	public ArrayList<LineDataSet> getDataListMeltCurveDeriSampled8() {
		return dataListMeltCurveDeriSampled8;
	}

}
